From 610fcbfd85d83accda5ce69e12b343b4a49da11e Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Fri, 7 Dec 2007 22:29:44 +0000 Subject: [PATCH] ixp4xx: Split into two subtargets, one normal and one for boards which boot directly from attached storage (and therefore need most kernel modules compiled in) SVN-Revision: 9669 --- target/linux/ixp4xx/Makefile | 1 + .../ixp4xx/{config/profile-FSG3 => fsg3/config-default} | 0 .../{profiles/500-FSG3.mk => fsg3/profiles/100-FSG3.mk} | 0 target/linux/ixp4xx/fsg3/target.mk | 6 ++++++ target/linux/ixp4xx/{ => generic}/profiles/100-Default.mk | 0 target/linux/ixp4xx/{ => generic}/profiles/200-NSLU2.mk | 0 target/linux/ixp4xx/{ => generic}/profiles/300-NAS100d.mk | 0 .../linux/ixp4xx/{ => generic}/profiles/400-DSMG600RevA.mk | 0 target/linux/ixp4xx/generic/target.mk | 7 +++++++ 9 files changed, 14 insertions(+) rename target/linux/ixp4xx/{config/profile-FSG3 => fsg3/config-default} (100%) rename target/linux/ixp4xx/{profiles/500-FSG3.mk => fsg3/profiles/100-FSG3.mk} (100%) create mode 100644 target/linux/ixp4xx/fsg3/target.mk rename target/linux/ixp4xx/{ => generic}/profiles/100-Default.mk (100%) rename target/linux/ixp4xx/{ => generic}/profiles/200-NSLU2.mk (100%) rename target/linux/ixp4xx/{ => generic}/profiles/300-NAS100d.mk (100%) rename target/linux/ixp4xx/{ => generic}/profiles/400-DSMG600RevA.mk (100%) create mode 100644 target/linux/ixp4xx/generic/target.mk diff --git a/target/linux/ixp4xx/Makefile b/target/linux/ixp4xx/Makefile index 6e945aba2c..5b9d3fb551 100644 --- a/target/linux/ixp4xx/Makefile +++ b/target/linux/ixp4xx/Makefile @@ -10,6 +10,7 @@ ARCH:=armeb BOARD:=ixp4xx BOARDNAME:=Intel XScale IXP4xx FEATURES:=squashfs +SUBTARGETS=generic fsg3 LINUX_VERSION:=2.6.21.6 diff --git a/target/linux/ixp4xx/config/profile-FSG3 b/target/linux/ixp4xx/fsg3/config-default similarity index 100% rename from target/linux/ixp4xx/config/profile-FSG3 rename to target/linux/ixp4xx/fsg3/config-default diff --git a/target/linux/ixp4xx/profiles/500-FSG3.mk b/target/linux/ixp4xx/fsg3/profiles/100-FSG3.mk similarity index 100% rename from target/linux/ixp4xx/profiles/500-FSG3.mk rename to target/linux/ixp4xx/fsg3/profiles/100-FSG3.mk diff --git a/target/linux/ixp4xx/fsg3/target.mk b/target/linux/ixp4xx/fsg3/target.mk new file mode 100644 index 0000000000..c71065e5f1 --- /dev/null +++ b/target/linux/ixp4xx/fsg3/target.mk @@ -0,0 +1,6 @@ +BOARDNAME:=Internal Hard-Disk + +define Target/Description + Build firmware images for ixp4xx based boards that boot directly from internal disk storage + (e.g : Freecom FSG-3, ...) +endef diff --git a/target/linux/ixp4xx/profiles/100-Default.mk b/target/linux/ixp4xx/generic/profiles/100-Default.mk similarity index 100% rename from target/linux/ixp4xx/profiles/100-Default.mk rename to target/linux/ixp4xx/generic/profiles/100-Default.mk diff --git a/target/linux/ixp4xx/profiles/200-NSLU2.mk b/target/linux/ixp4xx/generic/profiles/200-NSLU2.mk similarity index 100% rename from target/linux/ixp4xx/profiles/200-NSLU2.mk rename to target/linux/ixp4xx/generic/profiles/200-NSLU2.mk diff --git a/target/linux/ixp4xx/profiles/300-NAS100d.mk b/target/linux/ixp4xx/generic/profiles/300-NAS100d.mk similarity index 100% rename from target/linux/ixp4xx/profiles/300-NAS100d.mk rename to target/linux/ixp4xx/generic/profiles/300-NAS100d.mk diff --git a/target/linux/ixp4xx/profiles/400-DSMG600RevA.mk b/target/linux/ixp4xx/generic/profiles/400-DSMG600RevA.mk similarity index 100% rename from target/linux/ixp4xx/profiles/400-DSMG600RevA.mk rename to target/linux/ixp4xx/generic/profiles/400-DSMG600RevA.mk diff --git a/target/linux/ixp4xx/generic/target.mk b/target/linux/ixp4xx/generic/target.mk new file mode 100644 index 0000000000..21fd5d4696 --- /dev/null +++ b/target/linux/ixp4xx/generic/target.mk @@ -0,0 +1,7 @@ +BOARDNAME:=Generic + +define Target/Description + Build firmware images for ixp4xx based boards that boot from internal flash + (e.g : Linksys NSLU2, ...) +endef + -- 2.30.2