Commit 74a29b07 authored by Federico Vaga's avatar Federico Vaga

kernel: project headers have precedence over kernel ones

FMC bus is part of the recent kernel versions, so we may have conflicts
between this version and the one in the kernel.

With this patch we force the compilation proceed to ignore the kernel
header for FMC and use the local ones.
Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent 13e4f901
......@@ -27,7 +27,9 @@ else
# The library includes <sdb.h>, so point -I directtly there
ccflags-y += -I$(src)/include/linux -DGIT_VERSION=\"$(GIT_VERSION)\"
# include our header before to avoid conflicts with the kernel
LINUXINCLUDE := -I$(src)/include -I$(src)/include/linux $(LINUXINCLUDE)
ccflags-y += -DGIT_VERSION=\"$(GIT_VERSION)\"
fmc-y += ../sdb-lib/access.o
fmc-y += ../sdb-lib/glue.o
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