I am trying to build an out-of-tree linux kernel that should take into account external headers files comming from pre- compiled and installed custom libraries. My linux module will use functions from a shared library via a C-interface. How is it possible to prevent kernel Makefile of the existence of such files?
obj-m+= hello_module.o
$(MAKE) -C $(KDIR) M=$(OUTDIR) modules
#additional include path
INCLUDES :=\
-I $(PROJECT_ROOT)/deps1
-I $(PROJECT_ROOT)/deps2
-I $(PROJECT_ROOT)/deps3
So how can I include this in $(MAKE) line above? Thanks in advance, Rgds sahbi