Sfoglia il codice sorgente

Fix it so we once again build the target root_fs

Eric Andersen 21 anni fa
parent
commit
4c4768b2f7

+ 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