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

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



Include the `print-vars` Make target to the `null_targets` variable.

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

diff --git a/Makefile b/Makefile
index 1250436..880bdde 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)
@@ -373,7 +373,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.7.4


_______________________________________________
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®.