autodetect atm, pci, usb, pcmcia features from kernel config file
SVN-Revision: 5586
This commit is contained in:
parent
a475aaa39f
commit
80ff6a1d25
12 changed files with 28 additions and 11 deletions
|
@ -8,6 +8,23 @@ KERNEL_BUILD:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/prereq.mk
|
include $(INCLUDE_DIR)/prereq.mk
|
||||||
|
|
||||||
|
-include ./config
|
||||||
|
ifneq ($(CONFIG_ATM),)
|
||||||
|
FEATURES += atm
|
||||||
|
endif
|
||||||
|
ifneq ($(CONFIG_PCI),)
|
||||||
|
FEATURES += pci
|
||||||
|
endif
|
||||||
|
ifneq ($(CONFIG_USB),)
|
||||||
|
FEATURES += usb
|
||||||
|
endif
|
||||||
|
ifneq ($(CONFIG_PCMCIA),)
|
||||||
|
FEATURES += pcmcia
|
||||||
|
endif
|
||||||
|
|
||||||
|
# remove duplicates
|
||||||
|
FEATURES:=$(sort $(FEATURES))
|
||||||
|
|
||||||
# For target profile selection - the default set
|
# For target profile selection - the default set
|
||||||
DEFAULT_PACKAGES:=base-files libgcc uclibc bridge busybox dnsmasq dropbear iptables mtd ppp ppp-mod-pppoe mtd
|
DEFAULT_PACKAGES:=base-files libgcc uclibc bridge busybox dnsmasq dropbear iptables mtd ppp ppp-mod-pppoe mtd
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=mipsel
|
ARCH:=mipsel
|
||||||
BOARD:=ar7
|
BOARD:=ar7
|
||||||
BOARDNAME:=TI AR7
|
BOARDNAME:=TI AR7
|
||||||
FEATURES:=atm squashfs jffs2
|
FEATURES:=squashfs jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
|
Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=mips
|
ARCH:=mips
|
||||||
BOARD:=aruba
|
BOARD:=aruba
|
||||||
BOARDNAME:=Aruba
|
BOARDNAME:=Aruba
|
||||||
FEATURES:=jffs2 pci usb
|
FEATURES:=jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for Aruba boards
|
Build firmware images for Aruba boards
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=mipsel
|
ARCH:=mipsel
|
||||||
BOARD:=au1000
|
BOARD:=au1000
|
||||||
BOARDNAME:=AMD Alchemy AU1x00
|
BOARDNAME:=AMD Alchemy AU1x00
|
||||||
FEATURES:=pci usb jffs2
|
FEATURES:=jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware for AMD Alchemy 1500 boards
|
Build firmware for AMD Alchemy 1500 boards
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=mipsel
|
ARCH:=mipsel
|
||||||
BOARD:=brcm
|
BOARD:=brcm
|
||||||
BOARDNAME:=Broadcom BCM947xx/953xx
|
BOARDNAME:=Broadcom BCM947xx/953xx
|
||||||
FEATURES:=pci usb pcmcia squashfs jffs2
|
FEATURES:=squashfs jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for Broadcom based routers
|
Build firmware images for Broadcom based routers
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=mipsel
|
ARCH:=mipsel
|
||||||
BOARD:=brcm
|
BOARD:=brcm
|
||||||
BOARDNAME:=Broadcom BCM947xx/953xx
|
BOARDNAME:=Broadcom BCM947xx/953xx
|
||||||
FEATURES:=pci usb pcmcia squashfs jffs2
|
FEATURES:=squashfs jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for Broadcom based routers
|
Build firmware images for Broadcom based routers
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=mips
|
ARCH:=mips
|
||||||
BOARD:=brcm63xx
|
BOARD:=brcm63xx
|
||||||
BOARDNAME:=Broadcom BCM963xx
|
BOARDNAME:=Broadcom BCM963xx
|
||||||
FEATURES:=pci usb atm squashfs jffs2
|
FEATURES:=squashfs jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for Broadcom based xDSL/routers
|
Build firmware images for Broadcom based xDSL/routers
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=arm
|
ARCH:=arm
|
||||||
BOARD:=ixp4xx
|
BOARD:=ixp4xx
|
||||||
BOARDNAME:=Intel XScale IXP4xx
|
BOARDNAME:=Intel XScale IXP4xx
|
||||||
FEATURES:=pci usb jffs2
|
FEATURES:=jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=powerpc
|
ARCH:=powerpc
|
||||||
BOARD:=magicbox
|
BOARD:=magicbox
|
||||||
BOARDNAME:=Magicbox
|
BOARDNAME:=Magicbox
|
||||||
FEATURES:=pci jffs2
|
FEATURES:=jffs2
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.17
|
LINUX_VERSION:=2.6.17
|
||||||
LINUX_RELEASE:=1
|
LINUX_RELEASE:=1
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=mipsel
|
ARCH:=mipsel
|
||||||
BOARD:=rb532
|
BOARD:=rb532
|
||||||
BOARDNAME:=Mikrotik RouterBoard 532
|
BOARDNAME:=Mikrotik RouterBoard 532
|
||||||
FEATURES:=pci jffs2
|
FEATURES:=jffs2
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.17
|
LINUX_VERSION:=2.6.17
|
||||||
LINUX_RELEASE:=1
|
LINUX_RELEASE:=1
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH:=i386
|
ARCH:=i386
|
||||||
BOARD:=rdc
|
BOARD:=rdc
|
||||||
BOARDNAME:=RDC x86
|
BOARDNAME:=RDC x86
|
||||||
FEATURES:=broken pci jffs2
|
FEATURES:=broken jffs2
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for RDC3211 based routers
|
Build firmware images for RDC3211 based routers
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
ARCH=i386
|
ARCH=i386
|
||||||
BOARD:=x86
|
BOARD:=x86
|
||||||
BOARDNAME:=x86
|
BOARDNAME:=x86
|
||||||
FEATURES:=pci usb atm pcmcia jffs2 ext2
|
FEATURES:=jffs2 ext2
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.17
|
LINUX_VERSION:=2.6.17
|
||||||
LINUX_RELEASE:=1
|
LINUX_RELEASE:=1
|
||||||
|
|
Loading…
Reference in a new issue