From 2faa4bfdeadbe529008c26d39fa0c4dfa83a7cbe Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 4 May 2010 12:42:56 +0100 Subject: 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 --- unmodified_drivers/linux-2.6/overrides.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unmodified_drivers') diff --git a/unmodified_drivers/linux-2.6/overrides.mk b/unmodified_drivers/linux-2.6/overrides.mk index f30426eb19..803eccd3be 100644 --- a/unmodified_drivers/linux-2.6/overrides.mk +++ b/unmodified_drivers/linux-2.6/overrides.mk @@ -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) -- cgit v1.2.3