nbd's makefile/menuconfig rewrite
[openwrt-10.03/.git] / target / Config.in
index dc9224ff9a1eaf720d1f1dfe6d67b957ed3c56df..6453d54e726044ebb94190b4ff8555586e3ec115 100644 (file)
@@ -1,10 +1,38 @@
-comment "after changing root fs, use make linux-dirclean"
+menu "Target Root Filesystem"
 
-choice
-       prompt "Target Root Filesystem"
-       source "target/jffs2/Config.in"
-       source "target/squashfs/Config.in"
-       source "target/squashfs-lzma/Config.in"
-endchoice
+       config BR2_TARGET_ROOTFS_JFFS2
+               bool "jffs2"
+               default y
+               help
+                 Build a jffs2 root filesystem
 
-source "target/device/Config.in"
+       config BR2_TARGET_ROOTFS_SQUASHFS_LZMA
+               bool "squashfs-lzma"
+               default y
+               help
+                 Build a squashfs-lzma root filesystem
+
+endmenu
+
+menu "Device Support"
+
+       config BR2_TARGET_DEFAULT
+               default y
+               bool "Generic"
+
+       config BR2_TARGET_WRT54G
+               default y
+               select BR2_TARGET_DEFAULT
+               bool "Linksys WRT54G"
+
+       config BR2_TARGET_WRT54GS
+               default y
+               select BR2_TARGET_DEFAULT
+               bool "Linksys WRT54GS"
+       
+       config BR2_TARGET_MOTOROLA
+               default n
+               select BR2_TARGET_DEFAULT
+               bool "Motorola"
+
+endmenu