ソースを参照

Add a USES_TGZ config.in variable, so that RB1xx profiles can use it

SVN-Revision: 8039
Florian Fainelli 18 年 前
コミット
19a52ea35d
4 ファイル変更6 行追加1 行削除
  1. 1 1
      Config.in
  2. 1 0
      scripts/metadata.pl
  3. 3 0
      target/Config.in
  4. 1 0
      target/linux/adm5120-2.6/profiles/RB1xx.mk

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

+ 1 - 0
scripts/metadata.pl

@@ -253,6 +253,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;
 }

+ 3 - 0
target/Config.in

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

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