build: use $(LIB) as library target name
lib/memory was already using this pattern; extend it to lib/util and lib/nvme. Change-Id: I84a633d7805522fc94d8fc11ad5486ce552702e5 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
1c3b08c63c
commit
ecf1d7d4d4
@ -38,12 +38,14 @@ CFLAGS += $(DPDK_INC) -include $(CONFIG_NVME_IMPL)
|
||||
|
||||
C_SRCS = nvme_ctrlr_cmd.c nvme_ctrlr.c nvme_ns_cmd.c nvme_ns.c nvme_qpair.c nvme.c
|
||||
|
||||
all : libspdk_nvme.a
|
||||
LIB = libspdk_nvme.a
|
||||
|
||||
all : $(LIB)
|
||||
|
||||
clean :
|
||||
$(Q)rm -f libspdk_nvme.a $(OBJS) *.d
|
||||
$(Q)rm -f $(LIB) $(OBJS) *.d
|
||||
|
||||
libspdk_nvme.a : $(OBJS)
|
||||
$(LIB) : $(OBJS)
|
||||
$(LIB_C)
|
||||
|
||||
include $(SPDK_ROOT_DIR)/mk/spdk.deps.mk
|
||||
|
@ -38,12 +38,14 @@ CFLAGS += $(DPDK_INC)
|
||||
|
||||
C_SRCS = file.c string.c pci.c
|
||||
|
||||
all : libspdk_util.a
|
||||
LIB = libspdk_util.a
|
||||
|
||||
all : $(LIB)
|
||||
|
||||
clean :
|
||||
$(Q)rm -f libspdk_util.a $(OBJS) *.d
|
||||
$(Q)rm -f $(LIB) $(OBJS) *.d
|
||||
|
||||
libspdk_util.a : $(OBJS)
|
||||
$(LIB) : $(OBJS)
|
||||
$(LIB_C)
|
||||
|
||||
include $(SPDK_ROOT_DIR)/mk/spdk.deps.mk
|
||||
|
Loading…
Reference in New Issue
Block a user