X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Ftarget.mk;h=f4342bdbb532d40ece8e8892c789c466aaa3daa1;hb=1189af85fd35f46fa5239b5de6113d3665b9d9cf;hp=817901f0b9cdff8124931279c251b2ebd4363404;hpb=87550a0e8784805ade2058c3f320add972062941;p=openwrt%2Fopenwrt.git diff --git a/include/target.mk b/include/target.mk index 817901f0b9..f4342bdbb5 100644 --- a/include/target.mk +++ b/include/target.mk @@ -59,6 +59,7 @@ extra_packages = $(if $(filter wpad-mini wpad nas,$(1)),iwinfo) define ProfileDefault NAME:= + PRIORITY:= PACKAGES:= endef @@ -70,6 +71,7 @@ define Profile dumpinfo : $(call shexport,Profile/$(1)/Description) DUMPINFO += \ echo "Target-Profile: $(1)"; \ + $(if $(PRIORITY), echo "Target-Profile-Priority: $(PRIORITY)"; ) \ echo "Target-Profile-Name: $(NAME)"; \ echo "Target-Profile-Packages: $(PACKAGES) $(call extra_packages,$(DEFAULT_PACKAGES) $(PACKAGES))"; \ if [ -f ./config/profile-$(1) ]; then \