X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5be70dfb578c8793084aa8b4526fad08d68a6155..6f447d09dfa4c4ee2321f327c5b62e79db3f9173:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 35149d768..8462319f0 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -6,6 +6,25 @@ # 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