diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-18 14:11:44 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-18 14:11:44 +0000 |
commit | 9ab2e7b7fca982f554c768b138c9f9f1423fdde0 (patch) | |
tree | c927c5563b954208368c342786a0b1e2d676bc8c | |
parent | ab9b22a07a4eed45100771e18b40306953da7c96 (diff) |
Add a USES_TGZ config.in variable, so that RB1xx profiles can use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8039 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | Config.in | 2 | ||||
-rwxr-xr-x | scripts/metadata.pl | 1 | ||||
-rw-r--r-- | target/Config.in | 3 | ||||
-rw-r--r-- | target/linux/adm5120-2.6/profiles/RB1xx.mk | 1 |
4 files changed, 6 insertions, 1 deletions
@@ -36,7 +36,7 @@ menu "Target Images" config TARGET_ROOTFS_TGZ bool "tgz" - default y if !USES_SQUASHFS && !USES_JFFS2 + default y if USES_TGZ depends !TARGET_ROOTFS_INITRAMFS help Build a compressed tar archive of the the root filesystem diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 484d4205f..313efe75d 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -253,6 +253,7 @@ sub target_config_features(@) { /squashfs/ and $ret .= "\tselect USES_SQUASHFS\n"; /jffs2/ and $ret .= "\tselect USES_JFFS2\n"; /ext2/ and $ret .= "\tselect USES_EXT2\n"; + /tgz/ and $ret .= "\tselect USES_TGZ\n"; } return $ret; } diff --git a/target/Config.in b/target/Config.in index e50651272..627940eb2 100644 --- a/target/Config.in +++ b/target/Config.in @@ -35,6 +35,9 @@ config USES_JFFS2 config USES_EXT2 bool +config USES_TGZ + bool + config PROFILE_KCONFIG bool diff --git a/target/linux/adm5120-2.6/profiles/RB1xx.mk b/target/linux/adm5120-2.6/profiles/RB1xx.mk index 9dd3de097..3d61cedc8 100644 --- a/target/linux/adm5120-2.6/profiles/RB1xx.mk +++ b/target/linux/adm5120-2.6/profiles/RB1xx.mk @@ -8,6 +8,7 @@ define Profile/RouterBoard NAME:=RouterBoard RB1xx PACKAGES:=kmod-madwifi + FEATURES+=tgz endef define Profile/RouterBoard/Description |