Commit 0cb95227 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

build: include spdk.common.mk in lib Makefiles



Explicitly include spdk.common.mk at the top of all lib Makefiles so
that CONFIG options and other predefined variables are set.

Change-Id: I1e560c294fe8242602e45191a280f4295533ae44
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent cf29df44
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
#

SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

C_SRCS = conf.c
LIBNAME = conf
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
#

SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

CFLAGS += -I$(SPDK_ROOT_DIR)/test
C_SRCS = spdk_cunit.c
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
#

SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

CFLAGS += $(DPDK_INC)
LIBNAME = event
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
#

SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

C_SRCS = app_rpc.c
LIBNAME = app_rpc
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
#

SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

CFLAGS += $(DPDK_INC) -include $(CONFIG_IOAT_IMPL)
C_SRCS = ioat.c
Loading