include/target.mk: fix profile defaults
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48807
This commit is contained in:
parent
eced3b3a35
commit
f026f5c780
1 changed files with 2 additions and 2 deletions
|
@ -56,14 +56,14 @@ DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))
|
||||||
filter_packages = $(filter-out -% $(patsubst -%,%,$(filter -%,$(1))),$(1))
|
filter_packages = $(filter-out -% $(patsubst -%,%,$(filter -%,$(1))),$(1))
|
||||||
extra_packages = $(if $(filter wpad-mini wpad nas,$(1)),iwinfo)
|
extra_packages = $(if $(filter wpad-mini wpad nas,$(1)),iwinfo)
|
||||||
|
|
||||||
define Profile/Default
|
define ProfileDefault
|
||||||
NAME:=
|
NAME:=
|
||||||
PACKAGES:=
|
PACKAGES:=
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifndef Profile
|
ifndef Profile
|
||||||
define Profile
|
define Profile
|
||||||
$(eval $(call Profile/Default))
|
$(eval $(call ProfileDefault))
|
||||||
$(eval $(call Profile/$(1)))
|
$(eval $(call Profile/$(1)))
|
||||||
dumpinfo : $(call shexport,Profile/$(1)/Config)
|
dumpinfo : $(call shexport,Profile/$(1)/Config)
|
||||||
dumpinfo : $(call shexport,Profile/$(1)/Description)
|
dumpinfo : $(call shexport,Profile/$(1)/Description)
|
||||||
|
|
Loading…
Reference in a new issue