From ca1487cd3276b9c60d62bdd5572e67b3af1e4b3d Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 29 Jan 2008 13:56:43 +0000 Subject: [PATCH] add feature flag for the cpio.gz support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10311 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Config.in | 2 +- scripts/metadata.pl | 1 + target/Config.in | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Config.in b/Config.in index afcdd00bf..df8bc993c 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 2898289bc..6d7534519 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 2dc5ec424..aabe9c303 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