aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2019-09-20 08:55:40 -0400
committerThanos <tmakatos@gmail.com>2019-09-27 15:59:11 +0100
commit681b9ce80ca3bd1e16c77d4264e484371b878133 (patch)
treec3f05d876fd533371f6e82f263b783488b0d364a
parent067dc61aad2d6da96b91b67cf3a932a40ce6b837 (diff)
downloadlibvfio-user-681b9ce80ca3bd1e16c77d4264e484371b878133.zip
libvfio-user-681b9ce80ca3bd1e16c77d4264e484371b878133.tar.gz
libvfio-user-681b9ce80ca3bd1e16c77d4264e484371b878133.tar.bz2
add FIXME regarding enabling DEBUG in kernel module
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
-rw-r--r--kmod/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/kmod/CMakeLists.txt b/kmod/CMakeLists.txt
index 9065611..74d3047 100644
--- a/kmod/CMakeLists.txt
+++ b/kmod/CMakeLists.txt
@@ -32,6 +32,7 @@
# TODO can we copy all source files with a wildcard?
configure_file(muser.c ${CMAKE_CURRENT_BINARY_DIR}/muser.c COPYONLY)
configure_file(muser.h ${CMAKE_CURRENT_BINARY_DIR}/muser.h COPYONLY)
+# FIXME need to pass "CFLAGS_muser.o := -DDEBUG" for debug builds
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/Kbuild "obj-m := muser.o")
# Build module using kernel's Makefile.