autodetect atm, pci, usb, pcmcia features from kernel config file

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5586 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2006-11-19 20:30:11 +00:00
parent 349bcedc12
commit ef90a4e2f5
12 changed files with 28 additions and 11 deletions

View File

@ -8,6 +8,23 @@ KERNEL_BUILD:=1
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
DEFAULT_PACKAGES:=base-files libgcc uclibc bridge busybox dnsmasq dropbear iptables mtd ppp ppp-mod-pppoe mtd

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=ar7
BOARDNAME:=TI AR7
FEATURES:=atm squashfs jffs2
FEATURES:=squashfs jffs2
define Target/Description
Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mips
BOARD:=aruba
BOARDNAME:=Aruba
FEATURES:=jffs2 pci usb
FEATURES:=jffs2
define Target/Description
Build firmware images for Aruba boards

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=au1000
BOARDNAME:=AMD Alchemy AU1x00
FEATURES:=pci usb jffs2
FEATURES:=jffs2
define Target/Description
Build firmware for AMD Alchemy 1500 boards

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=brcm
BOARDNAME:=Broadcom BCM947xx/953xx
FEATURES:=pci usb pcmcia squashfs jffs2
FEATURES:=squashfs jffs2
define Target/Description
Build firmware images for Broadcom based routers

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=brcm
BOARDNAME:=Broadcom BCM947xx/953xx
FEATURES:=pci usb pcmcia squashfs jffs2
FEATURES:=squashfs jffs2
define Target/Description
Build firmware images for Broadcom based routers

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mips
BOARD:=brcm63xx
BOARDNAME:=Broadcom BCM963xx
FEATURES:=pci usb atm squashfs jffs2
FEATURES:=squashfs jffs2
define Target/Description
Build firmware images for Broadcom based xDSL/routers

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=ixp4xx
BOARDNAME:=Intel XScale IXP4xx
FEATURES:=pci usb jffs2
FEATURES:=jffs2
define Target/Description
endef

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc
BOARD:=magicbox
BOARDNAME:=Magicbox
FEATURES:=pci jffs2
FEATURES:=jffs2
LINUX_VERSION:=2.6.17
LINUX_RELEASE:=1

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=rb532
BOARDNAME:=Mikrotik RouterBoard 532
FEATURES:=pci jffs2
FEATURES:=jffs2
LINUX_VERSION:=2.6.17
LINUX_RELEASE:=1

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=i386
BOARD:=rdc
BOARDNAME:=RDC x86
FEATURES:=broken pci jffs2
FEATURES:=broken jffs2
define Target/Description
Build firmware images for RDC3211 based routers

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH=i386
BOARD:=x86
BOARDNAME:=x86
FEATURES:=pci usb atm pcmcia jffs2 ext2
FEATURES:=jffs2 ext2
LINUX_VERSION:=2.6.17
LINUX_RELEASE:=1