]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/test/cpp_headers/Makefile
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / test / cpp_headers / Makefile
index c801b24792aeb18705a29a6b076c18a8909ad1b7..64a9eda35da263197d5fc9e5dc8992e3289483c6 100644 (file)
@@ -35,6 +35,10 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
 include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
 
 HEADERS := $(wildcard $(SPDK_ROOT_DIR)/include/spdk/*.h)
+
+# On Linux, queue_extras.h is pulled in with queue.h,
+# on FreeBSD, we want to ignore queue_extras.h entirely.
+HEADERS := $(filter-out $(SPDK_ROOT_DIR)/include/spdk/queue_extras.h,$(HEADERS))
 CXX_SRCS := $(patsubst %.h,%.cpp,$(notdir $(HEADERS)))
 
 install : all