Add namespace contexts
[lttng-modules.git] / Kbuild.common
index c7cbd0b24aae7b376b45d53f2d7b0c09e5d953b8..e2934e20f4880d94266a7f3d1ca39682abd56a8b 100644 (file)
@@ -71,4 +71,9 @@ ifneq ($(CONFIG_DYNAMIC_FTRACE),)
   endif
 endif
 
+mnt_ns_dep = $(srctree)/fs/mount.h
+ifeq ($(wildcard $(mnt_ns_dep)),)
+    ccflags-y += -DLTTNG_MNT_NS_MISSING_HEADER
+endif
+
 # vim:syntax=make
This page took 0.022901 seconds and 4 git commands to generate.