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 <james.r.harris@intel.com>
Change-Id: I1c0c2b88e70ec37629740aa47f612c9d46fc88fb

Reviewed-on: https://review.gerrithub.io/399725
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
Jim Harris 2018-02-13 08:28:54 -07:00
parent 29eb956793
commit 36b00b7f61
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -47,6 +47,7 @@ LIBS += -lcunit $(SPDK_LIB_LINKER_ARGS)
APP = $(TEST_FILE:.c=)
all: $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES)
$(LINK_C)