add support for device type based package preselections

SVN-Revision: 8696
This commit is contained in:
Felix Fietkau 2007-09-08 21:30:25 +00:00
parent 87a88cebc7
commit e63e1f7a4a

View file

@ -5,12 +5,22 @@
# See /LICENSE for more information. # See /LICENSE for more information.
# #
# For target profile selection - the default set # default device type
DEFAULT_PACKAGES:=base-files libgcc uclibc bridge busybox dnsmasq dropbear iptables mtd ppp ppp-mod-pppoe mtd kmod-ipt-nathelper 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) ifneq ($(KERNEL),2.4)
DEFAULT_PACKAGES += udevtrigger hotplug2 DEFAULT_PACKAGES += udevtrigger hotplug2
endif endif
# Add device specific packages
DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))
KERNELNAME= KERNELNAME=
ifneq (,$(findstring x86,$(BOARD))) ifneq (,$(findstring x86,$(BOARD)))
KERNELNAME="bzImage" KERNELNAME="bzImage"