浏览代码

Fix it so we once again build the target root_fs

Eric Andersen 21 年之前
父节点
当前提交
4c4768b2f7
共有 8 个文件被更改,包括 24 次插入1 次删除
  1. 1 0
      Config.in
  2. 1 0
      Makefile
  3. 3 0
      target/Config.in
  4. 1 1
      target/cramfs/Config.in
  5. 6 0
      target/ext2/Config.in
  6. 3 0
      target/ext2/Makefile.in
  7. 6 0
      target/jffs2/Config.in
  8. 3 0
      target/jffs2/Makefile.in

+ 1 - 0
Config.in

@@ -67,4 +67,5 @@ source "toolchain/Config.in"
 
 source "package/Config.in"
 
+source "target/Config.in"
 

+ 1 - 0
Makefile

@@ -76,6 +76,7 @@ world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS)
 
 include toolchain/*/*.mk
 include package/*/*.mk
+include target/*/*.mk
 
 #############################################################
 #

+ 3 - 0
target/Config.in

@@ -3,6 +3,9 @@
 menu "Target Options"
 
 source "target/cramfs/Config.in"
+source "target/ext2/Config.in"
+source "target/jffs2/Config.in"
+source "target/squashfs/Config.in"
 
 endmenu
 

+ 1 - 1
target/cramfs/Config.in

@@ -1,5 +1,5 @@
 config BR2_TARGET_ROOTFS_CRAMFS
-	bool "Build a cramfs root filesystem for the target device"
+	bool "cramfs root filesystem for the target device"
 	default n
 	help
 	  Build a cramfs root filesystem

+ 6 - 0
target/ext2/Config.in

@@ -0,0 +1,6 @@
+config BR2_TARGET_ROOTFS_EXT2
+	bool "ext2 root filesystem for the target device"
+	default y
+	help
+	  Build an ext2 root filesystem
+

+ 3 - 0
target/ext2/Makefile.in

@@ -0,0 +1,3 @@
+ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2)),y)
+TARGETS+=ext2root
+endif

+ 6 - 0
target/jffs2/Config.in

@@ -0,0 +1,6 @@
+config BR2_TARGET_ROOTFS_JFFS2
+	bool "jffs2 root filesystem for the target device"
+	default n
+	help
+	  Build a jffs2 root filesystem
+

+ 3 - 0
target/jffs2/Makefile.in

@@ -0,0 +1,3 @@
+ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
+TARGETS+=jffs2root
+endif