Просмотр исходного кода

add feature flag for the cpio.gz support

SVN-Revision: 10311
Gabor Juhos 18 лет назад
Родитель
Сommit
5b3951bfbb
3 измененных файлов с 5 добавлено и 1 удалено
  1. 1 1
      Config.in
  2. 1 0
      scripts/metadata.pl
  3. 3 0
      target/Config.in

+ 1 - 1
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

+ 1 - 0
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;
 }

+ 3 - 0
target/Config.in

@@ -35,6 +35,9 @@ config USES_EXT2
 config USES_TGZ
 	bool
 
+config USES_CPIOGZ
+	bool
+
 config PROFILE_KCONFIG 
 	bool