diff options
Diffstat (limited to 'v4l/Makefile')
-rw-r--r-- | v4l/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/Makefile b/v4l/Makefile index 2080aa29e..75e9c50ef 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -157,6 +157,10 @@ CC += -I$(obj) ifeq ($(VERSION).$(PATCHLEVEL),2.6) CPPFLAGS := -I$(SUBDIRS)/../linux/include $(CPPFLAGS) -I$(SUBDIRS)/ + + # Needed for kernel 2.6.24 or upper + KBUILD_CPPFLAGS := -I$(SUBDIRS)/../linux/include $(KBUILD_CPPFLAGS) -I$(SUBDIRS)/ + MYCFLAGS := else MYCFLAGS := CFLAGS="-I../linux/include -D__KERNEL__ -I$(KDIR)/include -DEXPORT_SYMTAB" |