[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] linux pvdrv: generalize location of autoconf.h



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273481241 -3600
# Node ID 5f24daeb31d48c99862b965586466881b1e94601
# Parent  b3fcd496e064b60e41d6b0ed75bf49b78022315d
linux pvdrv: generalize location of autoconf.h

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@xxxxxxxxxx>
xen-unstable changeset:   21273:d2373000996d
xen-unstable date:        Tue May 04 12:42:56 2010 +0100
---
 unmodified_drivers/linux-2.6/overrides.mk |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b3fcd496e064 -r 5f24daeb31d4 unmodified_drivers/linux-2.6/overrides.mk
--- a/unmodified_drivers/linux-2.6/overrides.mk Mon May 10 09:46:48 2010 +0100
+++ b/unmodified_drivers/linux-2.6/overrides.mk Mon May 10 09:47:21 2010 +0100
@@ -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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.