[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v2 2/3] build: `print-vars` target is a `null_targets`



Include the `print-vars` target to the `null_targets` variable. This
is done for consistency.

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 08ee2152..57567c1a 100644
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,7 @@ export CONFIG_UK_NAME ?= $(notdir $(APP_DIR))
 export DATE := $(shell date +%Y%m%d)
 
 # Makefile targets
-null_targets           := print-version help
+null_targets           := print-version print-vars help
 noconfig_targets       := menuconfig nconfig gconfig xconfig config oldconfig 
randconfig \
                           defconfig %_defconfig allyesconfig allnoconfig 
silentoldconfig release \
                           olddefconfig properclean distclean $(null_targets)
@@ -371,7 +371,7 @@ export UK_FAMILY ?= $(shell echo "$(CONFIG_UK_ARCH)" | \
 
 
 # Quick-check if architecture exists
-ifeq ($(filter $(null_targets) print-vars,$(MAKECMDGOALS)),)
+ifeq ($(filter $(null_targets),$(MAKECMDGOALS)),)
 ifeq ($(wildcard $(CONFIG_UK_BASE)/arch/$(UK_FAMILY)/$(ARCH)/Makefile.uk),)
 $(error Target architecture ($(ARCH)) is currently not supported (could not 
find $(CONFIG_UK_BASE)/arch/$(UK_FAMILY)/$(ARCH)/Makefile.uk).)
 endif
-- 
2.17.2 (Apple Git-113)


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.