From: Felix Fietkau Date: Fri, 26 Feb 2016 20:47:10 +0000 (+0000) Subject: include/target.mk: fix profile defaults X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f026f5c780bf0dd359d2de9a94ddd72bef347c2c;p=openwrt%2Fstaging%2Fwigyori.git include/target.mk: fix profile defaults Signed-off-by: Felix Fietkau SVN-Revision: 48807 --- diff --git a/include/target.mk b/include/target.mk index 42febfca7b..dbb6327ad3 100644 --- a/include/target.mk +++ b/include/target.mk @@ -56,14 +56,14 @@ DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE)) filter_packages = $(filter-out -% $(patsubst -%,%,$(filter -%,$(1))),$(1)) extra_packages = $(if $(filter wpad-mini wpad nas,$(1)),iwinfo) -define Profile/Default +define ProfileDefault NAME:= PACKAGES:= endef ifndef Profile define Profile - $(eval $(call Profile/Default)) + $(eval $(call ProfileDefault)) $(eval $(call Profile/$(1))) dumpinfo : $(call shexport,Profile/$(1)/Config) dumpinfo : $(call shexport,Profile/$(1)/Description)