VirtualBox

Ignore:
Timestamp:
Jan 26, 2007 7:18:45 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
17943
Message:

Fixed the kernel module makefiles for OpenSUSE's non-standard build system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r345 r375  
    8383ifndef $(KERN_INCL)
    8484 KERN_INCL = $(KERN_DIR)/include
     85# Instead of sticking to the standards, OpenSUSE 10.2 only puts a few include
     86# files in /lib/modules/$(uname -r)/build/include, and puts the rest in
     87# /lib/modules/$(uname -r)/source/include, which points into the kernel sources
     88 EXTRA_INCL = -I/lib/modules/$(shell uname -r)/source/include
    8589 $(info Info: using $(KERN_INCL) as the include directory of your Linux kernel. If this is not correct, specify KERN_INCL=<directory> and run Make again.)
    8690endif
     
    114118#
    115119ifndef INCL
    116  INCL    := -I$(KERN_INCL)
     120 INCL    := -I$(KERN_INCL) -I$(EXTRA_INCL)
    117121 ifndef KBUILD_EXTMOD
    118122  KBUILD_EXTMOD := $(shell pwd)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette