diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-08 21:30:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-08 21:30:25 +0000 |
commit | e63e1f7a4a84f305c93e28f073568d0f324e67dd (patch) | |
tree | 3f92cb7dc5bc51ff14eba50b4a573d6f46bdcc5e /include/kernel-defaults.mk | |
parent | 87a88cebc798989ef7d36cc590d4a3cdd42134f0 (diff) | |
download | mtk-20170518-e63e1f7a4a84f305c93e28f073568d0f324e67dd.zip mtk-20170518-e63e1f7a4a84f305c93e28f073568d0f324e67dd.tar.gz mtk-20170518-e63e1f7a4a84f305c93e28f073568d0f324e67dd.tar.bz2 |
add support for device type based package preselections
SVN-Revision: 8696
Diffstat (limited to 'include/kernel-defaults.mk')
-rw-r--r-- | include/kernel-defaults.mk | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 88f1c36..40316e0 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -5,12 +5,22 @@ # See /LICENSE for more information. # -# For target profile selection - the default set -DEFAULT_PACKAGES:=base-files libgcc uclibc bridge busybox dnsmasq dropbear iptables mtd ppp ppp-mod-pppoe mtd kmod-ipt-nathelper +# default device type +DEVICE_TYPE?=router + +# Default packages - the really basic set +DEFAULT_PACKAGES:=base-files libgcc uclibc busybox dropbear mtd mtd +# For router targets +DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe iptables kmod-ipt-nathelper bridge + +# Additional packages for Linux 2.6 ifneq ($(KERNEL),2.4) - DEFAULT_PACKAGES+=udevtrigger hotplug2 + DEFAULT_PACKAGES += udevtrigger hotplug2 endif +# Add device specific packages +DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE)) + KERNELNAME= ifneq (,$(findstring x86,$(BOARD))) KERNELNAME="bzImage" |