aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-23 22:03:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-23 22:03:23 +0000
commite7392adc66d5ca83b8ff33acd2be97d78f7f74e0 (patch)
tree381a50c080a2618d372e07539d06495d9afdde72
parentee21a6e163a24cad93c663a6157795a608add899 (diff)
downloadupstream-e7392adc66d5ca83b8ff33acd2be97d78f7f74e0.tar.gz
upstream-e7392adc66d5ca83b8ff33acd2be97d78f7f74e0.tar.bz2
upstream-e7392adc66d5ca83b8ff33acd2be97d78f7f74e0.zip
clean up filesystem selction
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4847 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--Config.in11
-rw-r--r--target/Config.in21
2 files changed, 24 insertions, 8 deletions
diff --git a/Config.in b/Config.in
index d1d66ff0db..7b28255fb5 100644
--- a/Config.in
+++ b/Config.in
@@ -64,31 +64,28 @@ menu "Target Images"
config TARGET_ROOTFS_JFFS2
bool "jffs2"
- default y
+ default y if USES_JFFS2
depends !TARGET_ROOTFS_INITRAMFS
help
Build a jffs2 root filesystem
config TARGET_ROOTFS_SQUASHFS
bool "squashfs"
- default y
- depends !LINUX_2_6_ARUBA
- depends !LINUX_2_6_XSCALE
+ default y if USES_SQUASHFS
depends !TARGET_ROOTFS_INITRAMFS
- depends !LINUX_2_6_AU1000
help
Build a squashfs-lzma root filesystem
config TARGET_ROOTFS_TGZ
bool "tgz"
- default y if !LINUX_2_4_BRCM && !LINUX_2_6_BRCM && !LINUX_2_6_ARUBA && !LINUX_2_4_AR531X
+ default y if !USES_SQUASHFS && !USES_JFFS2
depends !TARGET_ROOTFS_INITRAMFS
help
Build a compressed tar archive of the the root filesystem
config TARGET_ROOTFS_EXT2FS
bool "ext2"
- default y if LINUX_2_6_UML
+ default y if !USES_SQUASHFS && !USES_JFFS2
depends !TARGET_ROOTFS_INITRAMFS
help
Ext2 file system with some free space for uml images
diff --git a/target/Config.in b/target/Config.in
index 6b317dd881..e7048cd59a 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -8,6 +8,7 @@ config LINUX_2_6_AU1000
select LINUX_2_6
select PCI_SUPPORT
select USB_SUPPORT
+ select USES_JFFS2
help
Build firmware for AMD Alchemy 1500 boards
(e.g. 4G-Systems Mesh/Access Cube ...)
@@ -19,6 +20,7 @@ config LINUX_2_6_ARUBA
select PCI_SUPPORT
select USB_SUPPORT
select BIG_ENDIAN
+ select USES_JFFS2
help
Build firmware images for Aruba boards
@@ -28,6 +30,7 @@ config LINUX_2_4_AR531X
select mips
select LINUX_2_4
select BIG_ENDIAN
+ select USES_JFFS2
help
Build firmware images for Atheros AR531x based boards
(e.g. Netgear WGT624, Linksys WRT55AG)
@@ -38,6 +41,8 @@ config LINUX_2_4_BRCM
select PCI_SUPPORT
select USB_SUPPORT
select PCMCIA_SUPPORT
+ select USES_SQUASHFS
+ select USES_JFFS2
help
Build firmware images for Broadcom based routers
(e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
@@ -53,6 +58,8 @@ config LINUX_2_6_BRCM
select PCI_SUPPORT
select USB_SUPPORT
#select PCMCIA_SUPPORT
+ select USES_SQUASHFS
+ select USES_JFFS2
help
Build firmware images for Broadcom based routers
(e.g. Netgear WGT634u)
@@ -65,6 +72,8 @@ config LINUX_2_6_BRCM63XX
select PCI_SUPPORT
select USB_SUPPORT
select PCMCIA_SUPPORT
+ select USES_SQUASHFS
+ select USES_JFFS2
help
Build firmware images for Broadcom based xDSL/routers
(e.g. Inventel Livebox, Siemens SE515)
@@ -76,6 +85,7 @@ config LINUX_2_6_XSCALE
select BIG_ENDIAN
select PCI_SUPPORT
select USB_SUPPORT
+ select USES_JFFS2
config LINUX_2_6_MAGICBOX
bool "Magicbox [2.6]"
@@ -83,16 +93,20 @@ config LINUX_2_6_MAGICBOX
select LINUX_2_6
select BIG_ENDIAN
select PCI_SUPPORT
+ select USES_JFFS2
config LINUX_2_6_RB532
bool "Mikrotik RB532 [2.6]"
select mipsel
select LINUX_2_6
select PCI_SUPPORT
+ select USES_JFFS2
config LINUX_2_4_AR7
bool "TI AR7 [2.4]"
select mipsel
+ select USES_SQUASHFS
+ select USES_JFFS2
help
Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
@@ -203,6 +217,12 @@ config USB_SUPPORT
config BIG_ENDIAN
bool
+config USES_SQUASHFS
+ bool
+
+config USES_JFFS2
+ bool
+
# Architecture selection
config i386
@@ -260,4 +280,3 @@ config ARCH
default "sh4eb" if sh4eb
default "sparc" if sparc
-