]> xenbits.xensource.com Git - xen.git/commitdiff
linux pvdrv: generalize location of autoconf.h
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:42:56 +0000 (12:42 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:42:56 +0000 (12:42 +0100)
The location of the file in the build tree changed in recent Linux;
since there can be only one such file, using a wild card instead of
an explicit directory name seems the easiest solution.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
unmodified_drivers/linux-2.6/overrides.mk

index f30426eb198e6d215beb8306c616bbfd42a807fa..803eccd3beb829227b785ece027a5d836dd146b8 100644 (file)
@@ -11,7 +11,7 @@ ifeq ($(ARCH),ia64)
   _XEN_CPPFLAGS += -DCONFIG_VMX_GUEST
 endif
 
-_XEN_CPPFLAGS += -include $(objtree)/include/linux/autoconf.h
+_XEN_CPPFLAGS += -include $(wildcard $(objtree)/include/*/autoconf.h)
 
 EXTRA_CFLAGS += $(_XEN_CPPFLAGS)
 EXTRA_AFLAGS += $(_XEN_CPPFLAGS)