aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-01-29 13:56:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-01-29 13:56:43 +0000
commit5b3951bfbb9fce06dc4f5e3e4bfb4c50e91e20fc (patch)
tree41917acdd6f76a4b729749db813edfa52f08f6d0
parentc8d5db06983f66461bc2e23a71580e839709a1e8 (diff)
downloadupstream-5b3951bfbb9fce06dc4f5e3e4bfb4c50e91e20fc.tar.gz
upstream-5b3951bfbb9fce06dc4f5e3e4bfb4c50e91e20fc.tar.bz2
upstream-5b3951bfbb9fce06dc4f5e3e4bfb4c50e91e20fc.zip
add feature flag for the cpio.gz support
SVN-Revision: 10311
-rw-r--r--Config.in2
-rwxr-xr-xscripts/metadata.pl1
-rw-r--r--target/Config.in3
3 files changed, 5 insertions, 1 deletions
diff --git a/Config.in b/Config.in
index afcdd00bf4..df8bc993cc 100644
--- a/Config.in
+++ b/Config.in
@@ -43,7 +43,7 @@ menu "Target Images"
config TARGET_ROOTFS_CPIOGZ
bool "cpiogz"
- default y if USES_TGZ
+ default y if USES_CPIOGZ
depends !TARGET_ROOTFS_INITRAMFS
help
Build a compressed cpio archive of the the root filesystem
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 2898289bcc..6d75345196 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -159,6 +159,7 @@ sub target_config_features(@) {
/jffs2/ and $ret .= "\tselect USES_JFFS2\n";
/ext2/ and $ret .= "\tselect USES_EXT2\n";
/tgz/ and $ret .= "\tselect USES_TGZ\n";
+ /cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
}
return $ret;
}
diff --git a/target/Config.in b/target/Config.in
index 2dc5ec4245..aabe9c3034 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -35,6 +35,9 @@ config USES_EXT2
config USES_TGZ
bool
+config USES_CPIOGZ
+ bool
+
config PROFILE_KCONFIG
bool