autodetect atm, pci, usb, pcmcia features from kernel config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5586 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
349bcedc12
commit
ef90a4e2f5
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue