From 36b00b7f617375f11ec1d12374c56d7b6072eda1 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 13 Feb 2018 08:28:54 -0700 Subject: [PATCH] build: add dummy @: to some "all" targets This suppresses: make[3]: Nothing to be done for 'all'. when nothing needs to be rebuilt. Still more work will be needed, specifically in examples and apps directories. But this will cover most of lib/ and anything in unit/test that is using the new spdk.unittest.mk. Signed-off-by: Jim Harris Change-Id: I1c0c2b88e70ec37629740aa47f612c9d46fc88fb Reviewed-on: https://review.gerrithub.io/399725 Reviewed-by: Daniel Verkamp Tested-by: SPDK Automated Test System --- mk/spdk.lib.mk | 1 + mk/spdk.unittest.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/mk/spdk.lib.mk b/mk/spdk.lib.mk index cdb2c5b26..7a2c41cfc 100644 --- a/mk/spdk.lib.mk +++ b/mk/spdk.lib.mk @@ -38,6 +38,7 @@ LIB := $(call spdk_lib_list_to_files,$(LIBNAME)) .PHONY: all clean $(DIRS-y) all: $(LIB) $(DIRS-y) + @: clean: $(DIRS-y) $(CLEAN_C) $(LIB) diff --git a/mk/spdk.unittest.mk b/mk/spdk.unittest.mk index 2e6cd164d..84e4ef111 100644 --- a/mk/spdk.unittest.mk +++ b/mk/spdk.unittest.mk @@ -47,6 +47,7 @@ LIBS += -lcunit $(SPDK_LIB_LINKER_ARGS) APP = $(TEST_FILE:.c=) all: $(APP) + @: $(APP) : $(OBJS) $(SPDK_LIB_FILES) $(LINK_C)