From: Rod Whitby Date: Fri, 7 Dec 2007 22:29:44 +0000 (+0000) Subject: ixp4xx: Split into two subtargets, one normal and one for boards which boot directly... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=610fcbfd85d83accda5ce69e12b343b4a49da11e;p=openwrt%2Fstaging%2Frobimarko.git 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 --- 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/config/profile-FSG3 deleted file mode 100644 index 6dfaae0a8d..0000000000 --- a/target/linux/ixp4xx/config/profile-FSG3 +++ /dev/null @@ -1,22 +0,0 @@ -CONFIG_CMDLINE="root=/dev/sda1 noinitrd console=ttyS0,115200" -CONFIG_ATA=y -CONFIG_SATA_VIA=y -CONFIG_USB_ARCH_HAS_HCD=y -CONFIG_USB_ARCH_HAS_OHCI=y -CONFIG_USB_ARCH_HAS_EHCI=y -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_SPLIT_ISO=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_EHCI_TT_NEWSCHED=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_LITTLE_ENDIAN=y -CONFIG_USB_STORAGE=y -CONFIG_EXT3_FS=y -CONFIG_EXT3_FS_XATTR=y -CONFIG_EXT3_FS_POSIX_ACL=y -CONFIG_EXT3_FS_SECURITY=y -CONFIG_JBD=y -CONFIG_FS_MBCACHE=y -CONFIG_BLK_DEV_SD=y -CONFIG_REISERFS_FS=y diff --git a/target/linux/ixp4xx/fsg3/config-default b/target/linux/ixp4xx/fsg3/config-default new file mode 100644 index 0000000000..6dfaae0a8d --- /dev/null +++ b/target/linux/ixp4xx/fsg3/config-default @@ -0,0 +1,22 @@ +CONFIG_CMDLINE="root=/dev/sda1 noinitrd console=ttyS0,115200" +CONFIG_ATA=y +CONFIG_SATA_VIA=y +CONFIG_USB_ARCH_HAS_HCD=y +CONFIG_USB_ARCH_HAS_OHCI=y +CONFIG_USB_ARCH_HAS_EHCI=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_SPLIT_ISO=y +CONFIG_USB_EHCI_ROOT_HUB_TT=y +CONFIG_USB_EHCI_TT_NEWSCHED=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_LITTLE_ENDIAN=y +CONFIG_USB_STORAGE=y +CONFIG_EXT3_FS=y +CONFIG_EXT3_FS_XATTR=y +CONFIG_EXT3_FS_POSIX_ACL=y +CONFIG_EXT3_FS_SECURITY=y +CONFIG_JBD=y +CONFIG_FS_MBCACHE=y +CONFIG_BLK_DEV_SD=y +CONFIG_REISERFS_FS=y diff --git a/target/linux/ixp4xx/fsg3/profiles/100-FSG3.mk b/target/linux/ixp4xx/fsg3/profiles/100-FSG3.mk new file mode 100644 index 0000000000..f06fa8c66f --- /dev/null +++ b/target/linux/ixp4xx/fsg3/profiles/100-FSG3.mk @@ -0,0 +1,20 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/FSG3 + NAME:=Freecom FSG-3 + PACKAGES:= \ + kmod-madwifi wireless-tools \ + kmod-usb-core kmod-usb-uhci kmod-usb2 kmod-usb-storage \ + kmod-fs-ext2 kmod-fs-reiserfs +endef + +define Profile/FSG3/Description + Package set optimized for the Freecom FSG-3 +endef +$(eval $(call Profile,FSG3)) + 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/generic/profiles/100-Default.mk b/target/linux/ixp4xx/generic/profiles/100-Default.mk new file mode 100644 index 0000000000..104268bd8e --- /dev/null +++ b/target/linux/ixp4xx/generic/profiles/100-Default.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile + PACKAGES:=kmod-madwifi +endef + +define Profile/Default/Description + Default IXP4xx Profile +endef +$(eval $(call Profile,Default)) + diff --git a/target/linux/ixp4xx/generic/profiles/200-NSLU2.mk b/target/linux/ixp4xx/generic/profiles/200-NSLU2.mk new file mode 100644 index 0000000000..a4e1a30858 --- /dev/null +++ b/target/linux/ixp4xx/generic/profiles/200-NSLU2.mk @@ -0,0 +1,20 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/NSLU2 + NAME:=Linksys NSLU2 + PACKAGES:=kmod-ixp4xx-npe \ + kmod-scsi-core \ + kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage \ + kmod-fs-ext2 kmod-fs-ext3 +endef + +define Profile/NSLU2/Description + Package set optimized for the Linksys NSLU2 +endef +$(eval $(call Profile,NSLU2)) + diff --git a/target/linux/ixp4xx/generic/profiles/300-NAS100d.mk b/target/linux/ixp4xx/generic/profiles/300-NAS100d.mk new file mode 100644 index 0000000000..2a43ac6d9b --- /dev/null +++ b/target/linux/ixp4xx/generic/profiles/300-NAS100d.mk @@ -0,0 +1,22 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/NAS100d + NAME:=Iomega NAS 100d + PACKAGES:=kmod-ixp4xx-npe \ + kmod-madwifi wireless-tools \ + kmod-scsi-core \ + kmod-ata-core kmod-ata-artop \ + kmod-usb-core kmod-usb2 kmod-usb-storage \ + kmod-fs-ext2 kmod-fs-ext3 +endef + +define Profile/NAS100d/Description + Package set optimized for the Iomega NAS 100d +endef +$(eval $(call Profile,NAS100d)) + diff --git a/target/linux/ixp4xx/generic/profiles/400-DSMG600RevA.mk b/target/linux/ixp4xx/generic/profiles/400-DSMG600RevA.mk new file mode 100644 index 0000000000..aa2c64217e --- /dev/null +++ b/target/linux/ixp4xx/generic/profiles/400-DSMG600RevA.mk @@ -0,0 +1,22 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/DSMG600RevA + NAME:=DSM-G600 Rev A + PACKAGES:=kmod-via-velocity \ + kmod-madwifi wireless-tools \ + kmod-scsi-core \ + kmod-ata-core kmod-ata-artop \ + kmod-usb-core kmod-usb-uhci kmod-usb2 kmod-usb-storage \ + kmod-fs-ext2 kmod-fs-ext3 +endef + +define Profile/DSMG600RevA/Description + Package set optimized for the DSM-G600 Rev A +endef +$(eval $(call Profile,DSMG600RevA)) + 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 + diff --git a/target/linux/ixp4xx/profiles/100-Default.mk b/target/linux/ixp4xx/profiles/100-Default.mk deleted file mode 100644 index 104268bd8e..0000000000 --- a/target/linux/ixp4xx/profiles/100-Default.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Default - NAME:=Default Profile - PACKAGES:=kmod-madwifi -endef - -define Profile/Default/Description - Default IXP4xx Profile -endef -$(eval $(call Profile,Default)) - diff --git a/target/linux/ixp4xx/profiles/200-NSLU2.mk b/target/linux/ixp4xx/profiles/200-NSLU2.mk deleted file mode 100644 index a4e1a30858..0000000000 --- a/target/linux/ixp4xx/profiles/200-NSLU2.mk +++ /dev/null @@ -1,20 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/NSLU2 - NAME:=Linksys NSLU2 - PACKAGES:=kmod-ixp4xx-npe \ - kmod-scsi-core \ - kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage \ - kmod-fs-ext2 kmod-fs-ext3 -endef - -define Profile/NSLU2/Description - Package set optimized for the Linksys NSLU2 -endef -$(eval $(call Profile,NSLU2)) - diff --git a/target/linux/ixp4xx/profiles/300-NAS100d.mk b/target/linux/ixp4xx/profiles/300-NAS100d.mk deleted file mode 100644 index 2a43ac6d9b..0000000000 --- a/target/linux/ixp4xx/profiles/300-NAS100d.mk +++ /dev/null @@ -1,22 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/NAS100d - NAME:=Iomega NAS 100d - PACKAGES:=kmod-ixp4xx-npe \ - kmod-madwifi wireless-tools \ - kmod-scsi-core \ - kmod-ata-core kmod-ata-artop \ - kmod-usb-core kmod-usb2 kmod-usb-storage \ - kmod-fs-ext2 kmod-fs-ext3 -endef - -define Profile/NAS100d/Description - Package set optimized for the Iomega NAS 100d -endef -$(eval $(call Profile,NAS100d)) - diff --git a/target/linux/ixp4xx/profiles/400-DSMG600RevA.mk b/target/linux/ixp4xx/profiles/400-DSMG600RevA.mk deleted file mode 100644 index aa2c64217e..0000000000 --- a/target/linux/ixp4xx/profiles/400-DSMG600RevA.mk +++ /dev/null @@ -1,22 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/DSMG600RevA - NAME:=DSM-G600 Rev A - PACKAGES:=kmod-via-velocity \ - kmod-madwifi wireless-tools \ - kmod-scsi-core \ - kmod-ata-core kmod-ata-artop \ - kmod-usb-core kmod-usb-uhci kmod-usb2 kmod-usb-storage \ - kmod-fs-ext2 kmod-fs-ext3 -endef - -define Profile/DSMG600RevA/Description - Package set optimized for the DSM-G600 Rev A -endef -$(eval $(call Profile,DSMG600RevA)) - diff --git a/target/linux/ixp4xx/profiles/500-FSG3.mk b/target/linux/ixp4xx/profiles/500-FSG3.mk deleted file mode 100644 index f06fa8c66f..0000000000 --- a/target/linux/ixp4xx/profiles/500-FSG3.mk +++ /dev/null @@ -1,20 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/FSG3 - NAME:=Freecom FSG-3 - PACKAGES:= \ - kmod-madwifi wireless-tools \ - kmod-usb-core kmod-usb-uhci kmod-usb2 kmod-usb-storage \ - kmod-fs-ext2 kmod-fs-reiserfs -endef - -define Profile/FSG3/Description - Package set optimized for the Freecom FSG-3 -endef -$(eval $(call Profile,FSG3)) -