Skip to content
Snippets Groups Projects
Commit ca32373c authored by Philip Prindeville's avatar Philip Prindeville Committed by John Crispin
Browse files

target.mk: let profile remove from DEFAULT_PACKAGES


In a profile, specifying -pkg in the list of PACKAGES will suppress
it even if it appears in the target's DEFAULT_PACKAGES list.

Signed-off-by: default avatarPhilip Prindeville <philipp@redfish-solutions.com>
parent 4baffa02
No related branches found
No related tags found
Loading
......@@ -68,6 +68,8 @@ define Profile
$(eval $(call ProfileDefault))
$(eval $(call Profile/$(1)))
dumpinfo : $(call shexport,Profile/$(1)/Description)
DEFAULT_PACKAGES := $(filter-out $(patsubst -%,%,$(filter -%,$(PACKAGES))),$(DEFAULT_PACKAGES))
PACKAGES := $(filter-out -%,$(PACKAGES))
DUMPINFO += \
echo "Target-Profile: $(1)"; \
$(if $(PRIORITY), echo "Target-Profile-Priority: $(PRIORITY)"; ) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment