diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-19 20:30:11 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-19 20:30:11 +0000 |
commit | 2c38903c12860750cdd677a28113afdd8a9590b3 (patch) | |
tree | 13f241e2689cdc703a47eea9fd5f552e402b78a6 /include | |
parent | e4f08bef12bbc01a60823c65f0da446b2d069d88 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-build.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 4967dfb67..8462319f0 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -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 |