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

SVN-Revision: 5586
This commit is contained in:
Felix Fietkau
2006-11-19 20:30:11 +00:00
parent a475aaa39f
commit 80ff6a1d25
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