diff options
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/v4l/Makefile b/v4l/Makefile index f96873227..4406fdfff 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -159,9 +159,12 @@ CC += -I$(obj) ifeq ($(VERSION).$(PATCHLEVEL),2.6) CPPFLAGS := -I$(SUBDIRS)/../linux/include $(CPPFLAGS) -I$(SUBDIRS)/ - # Needed for kernel 2.6.24 or upper + # Needed for kernel 2.6.24 or up KBUILD_CPPFLAGS := -I$(SUBDIRS)/../linux/include $(KBUILD_CPPFLAGS) -I$(SUBDIRS)/ + # Needed for kernel 2.6.29 or up + LINUXINCLUDE := -I$(SUBDIRS)/../linux/include $(LINUXINCLUDE) -I$(SUBDIRS)/ + MYCFLAGS := else MYCFLAGS := CFLAGS="-I../linux/include -D__KERNEL__ -I$(KDIR)/include -DEXPORT_SYMTAB" |