build: add @: to remaining 'all' targets

It is not ideal to have to add this in a bunch of
different Makefiles, but further consolidation of
Makefiles is going to be a more arduous process.

With this change, rebuilding SPDK after no changes
will result in no output - all of the "Nothing to
be done for 'all'" messages have been removed.  Note
that DPDK build output still remains - this can be
suppressed by either using an out-of-tree DPDK, or
using SKIP_DPDK_BUILD=1 when using the in-tree DPDK
submodule.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ib1d45432f2baaa1d9c1b9509906ee1e77966d3ca

Reviewed-on: https://review.gerrithub.io/399918
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 19:35:28 -07:00 committed by Daniel Verkamp
parent 304bed6da0
commit bb24ce82a6
26 changed files with 27 additions and 0 deletions

View File

@ -58,6 +58,7 @@ LIBS += $(SPDK_LIB_LINKER_ARGS) -lcrypto
LIBS += $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS) $(BLOCKDEV_MODULES_FILES) $(COPY_MODULES_FILES)
$(LINK_C)

View File

@ -42,6 +42,7 @@ CXX_SRCS = iscsi_top.cpp
APP = iscsi_top
all: $(APP)
@:
$(APP) : $(OBJS)
$(LINK_CXX)

View File

@ -53,6 +53,7 @@ LIBS += $(BLOCKDEV_MODULES_LINKER_ARGS) \
$(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(SPDK_WHOLE_LIBS) $(BLOCKDEV_MODULES_FILES) $(LINKER_MODULES) $(ENV_LIBS)
$(LINK_C)

View File

@ -40,6 +40,7 @@ CXX_SRCS := trace.cpp
APP = spdk_trace
all: $(APP)
@:
$(APP): $(OBJS) $(SPDK_LIBS)
$(LINK_CXX)

View File

@ -51,6 +51,7 @@ LIBS += $(SPDK_LIB_LINKER_ARGS)
LIBS += $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS) $(BLOCKDEV_MODULES_FILES) $(COPY_MODULES_FILES)
$(LINK_C)

View File

@ -39,6 +39,8 @@ DIRS-$(CONFIG_FIO_PLUGIN) = fio_plugin
.PHONY: all clean $(DIRS-y)
all: $(DIRS-y)
@:
clean: $(DIRS-y)
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk

View File

@ -49,6 +49,7 @@ LIBS += $(BLOCKDEV_MODULES_LINKER_ARGS)
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all: $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS) $(BLOCKDEV_MODULES_FILES)
$(LINK_C)

View File

@ -46,6 +46,7 @@ LIBS += $(COPY_MODULES_LINKER_ARGS) $(BLOCKDEV_MODULES_LINKER_ARGS)
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(BLOCKDEV_MODULES_FILES) $(LINKER_MODULES) $(ENV_LIBS)
$(LINK_C)

View File

@ -46,6 +46,7 @@ LIBS += $(COPY_MODULES_LINKER_ARGS) $(BLOCKDEV_MODULES_LINKER_ARGS)
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(BLOCKDEV_MODULES_FILES) $(LINKER_MODULES) $(ENV_LIBS)
$(LINK_C)

View File

@ -42,6 +42,7 @@ C_SRCS := ioat_kperf.c
CFLAGS += -I.
all: $(APP)
@:
$(APP): $(OBJS)
$(LINK_C)

View File

@ -44,6 +44,7 @@ SPDK_LIB_LIST = ioat util log
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all: $(APP)
@:
$(APP): $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -44,6 +44,7 @@ SPDK_LIB_LIST = ioat util log
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all: $(APP)
@:
$(APP): $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -41,6 +41,7 @@ $(DESTDIR)$(includedir)%.h:
$(INSTALL_HEADER)
all:
@:
clean:

View File

@ -47,6 +47,7 @@ LIBS += -libverbs -lrdmacm
endif
all: $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -53,6 +53,7 @@ LIBS += $(BLOCKDEV_MODULES_LINKER_ARGS) \
$(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(SPDK_WHOLE_LIBS) $(BLOCKDEV_MODULES_FILES) $(LINKER_MODULES) $(ENV_LIBS)
$(LINK_C)

View File

@ -49,6 +49,7 @@ LIBS += -libverbs -lrdmacm
endif
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -43,6 +43,7 @@ CXX_SRCS := $(patsubst %.h,%.cpp,$(notdir $(HEADERS)))
echo '#include "spdk/$(notdir $<)"' > $@
all : $(CXX_SRCS) $(OBJS)
@:
clean :
$(CLEAN_C) $(CXX_SRCS)

View File

@ -49,6 +49,7 @@ LIBS += $(BLOCKDEV_MODULES_LINKER_ARGS) \
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS) -lcunit
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(BLOCKDEV_MODULES_FILES) $(LINKER_MODULES) $(ENV_LIBS)
$(LINK_C)

View File

@ -49,6 +49,7 @@ LIBS += $(BLOCKDEV_MODULES_LINKER_ARGS) \
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(BLOCKDEV_MODULES_FILES) $(COPY_MODULES_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -49,6 +49,7 @@ LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
LIBS+= -L/usr/local/lib -lfuse3
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES)
$(LINK_C)

View File

@ -48,6 +48,7 @@ LIBS += $(COPY_MODULES_LINKER_ARGS) $(BLOCKDEV_MODULES_LINKER_ARGS)
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES)
$(LINK_C)

View File

@ -43,6 +43,7 @@ SPDK_LIB_LIST = event trace conf util log rpc jsonrpc json
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -43,6 +43,7 @@ SPDK_LIB_LIST = event trace conf util log rpc jsonrpc json
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -43,6 +43,7 @@ SPDK_LIB_LIST = event trace conf util log rpc jsonrpc json
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all : $(APP)
@:
$(APP) : $(OBJS) $(SPDK_LIB_FILES) $(ENV_LIBS)
$(LINK_C)

View File

@ -44,6 +44,7 @@ SPDK_LIB_LIST = json util
LIBS += $(SPDK_LIB_LINKER_ARGS)
all: $(APP)
@:
$(APP): $(OBJS) $(SPDK_LIB_FILES)
$(LINK_C)

View File

@ -44,6 +44,7 @@ SPDK_LIB_LIST = util
LIBS += $(SPDK_LIB_LINKER_ARGS) $(ENV_LINKER_ARGS)
all: $(APP)
@:
$(APP): $(OBJS) $(SPDK_LIB_FILES)
$(LINK_C)