include/target.mk: fix profile defaults
authorFelix Fietkau <nbd@openwrt.org>
Fri, 26 Feb 2016 20:47:10 +0000 (20:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 26 Feb 2016 20:47:10 +0000 (20:47 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48807

include/target.mk

index 42febfca7b619adb666157a10a7edd7dc178b2d2..dbb6327ad3a8b471ebebf7e4b7bda796edd5f766 100644 (file)
@@ -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)