From: Florian Fainelli Date: Wed, 18 Jul 2007 14:11:44 +0000 (+0000) Subject: Add a USES_TGZ config.in variable, so that RB1xx profiles can use it X-Git-Tag: kamikaze_7.07~67 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1d83bf343cb58fb87659bbf7e3e0ba8b5b4ed271;p=openwrt%2Fsvn-archive%2Fopenwrt.git Add a USES_TGZ config.in variable, so that RB1xx profiles can use it SVN-Revision: 8039 --- diff --git a/Config.in b/Config.in index 0bced5c021..705c24ad2f 100644 --- a/Config.in +++ b/Config.in @@ -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 dbd6ccef37..b4ad22e11e 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -200,6 +200,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 31a4e590e1..3b9f54a7c2 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 9dd3de0973..3d61cedc85 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