Commit 7ebcaf86 authored by David Johnson's avatar David Johnson

Fix the kernel module build (config.h dir now included).

If libcap_types.h is a public header, it probably shouldn't include
config.h, or if it does, we'll have to rename it to avoid conflicts, but
this solves the build for now.
parent bf9ae686
Pipeline #396 passed with stage
top_srcdir = @top_srcdir@
abs_top_srcdir = @abs_top_srcdir@
abs_top_builddir = @abs_top_builddir@
$(top_srcdir)/src/common/cap.c $(top_srcdir)/src/common/cptr_cache.c
......@@ -16,7 +17,8 @@ cap_module-objs := cap.o cptr_cache.o
KDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
ccflags-y = -DMODULE -D__KERNEL__ -I$(abs_top_srcdir)/include
ccflags-y = -DMODULE -D__KERNEL__ -I$(abs_top_srcdir)/include \
$(CFILES:.c=.o): $(HFILES) Makefile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment