add feature flag for the cpio.gz support
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Jan 2008 13:56:43 +0000 (13:56 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Jan 2008 13:56:43 +0000 (13:56 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10311 3c298f89-4303-0410-b956-a3cf2f4a3e73

Config.in
scripts/metadata.pl
target/Config.in

index afcdd00..df8bc99 100644 (file)
--- 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
index 2898289..6d75345 100755 (executable)
@@ -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;
 }
index 2dc5ec4..aabe9c3 100644 (file)
@@ -35,6 +35,9 @@ config USES_EXT2
 config USES_TGZ
        bool
 
+config USES_CPIOGZ
+       bool
+
 config PROFILE_KCONFIG 
        bool
 
This page took 0.026755 seconds and 4 git commands to generate.