summaryrefslogtreecommitdiff
path: root/include/target.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-26 20:47:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-26 20:47:10 +0000
commitf026f5c780bf0dd359d2de9a94ddd72bef347c2c (patch)
tree4630938fc1453183cf14db37b04c7ce20453e287 /include/target.mk
parenteced3b3a355199e1a1b51cba41689d9336d95c40 (diff)
downloadmtk-20170518-f026f5c780bf0dd359d2de9a94ddd72bef347c2c.zip
mtk-20170518-f026f5c780bf0dd359d2de9a94ddd72bef347c2c.tar.gz
mtk-20170518-f026f5c780bf0dd359d2de9a94ddd72bef347c2c.tar.bz2
include/target.mk: fix profile defaults
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48807
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/target.mk b/include/target.mk
index 42febfc..dbb6327 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)