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

[Xen-devel] [PATCH] another header dependency fix



Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: 2007-11-13/xen/arch/powerpc/Rules.mk
===================================================================
--- 2007-11-13.orig/xen/arch/powerpc/Rules.mk   2007-08-06 15:08:40.000000000 
+0200
+++ 2007-11-13/xen/arch/powerpc/Rules.mk        2007-11-20 16:53:49.000000000 
+0100
@@ -12,7 +12,6 @@ C_WARNINGS += -Wpacked
 CFLAGS += -m64 -ffreestanding -fno-builtin -fno-common
 CFLAGS += -iwithprefix include -Werror -pipe
 CFLAGS += -I$(BASEDIR)/include
-CFLAGS += -I$(BASEDIR)/include/asm-powerpc/mach-generic
 CFLAGS += -I$(BASEDIR)/include/asm-powerpc/mach-default
 CFLAGS += $(C_WARNINGS)
 CFLAGS += -msoft-float -O2
@@ -33,6 +32,8 @@ LDFLAGS += -m elf64ppc
                --redefine-sym _binary_$*_bin_size=$*_size \
                $< $@
 
+HDRS += $(wildcard $(BASEDIR)/include/asm-powerpc/mach-*/*.h)
+
 # Test for at least GCC v3.2.x.
 gcc-ver = $(shell $(CC) -dumpversion | sed -e 's/^\(.\)\.\(.\)\.\(.\)/\$(1)/')
 ifeq ($(call gcc-ver,1),1)
Index: 2007-11-13/xen/arch/x86/Rules.mk
===================================================================
--- 2007-11-13.orig/xen/arch/x86/Rules.mk       2007-07-10 09:40:05.000000000 
+0200
+++ 2007-11-13/xen/arch/x86/Rules.mk    2007-11-20 16:52:31.000000000 +0100
@@ -57,6 +57,7 @@ endif
 HDRS += $(wildcard $(BASEDIR)/include/asm-x86/hvm/*.h)
 HDRS += $(wildcard $(BASEDIR)/include/asm-x86/hvm/svm/*.h)
 HDRS += $(wildcard $(BASEDIR)/include/asm-x86/hvm/vmx/*.h)
+HDRS += $(wildcard $(BASEDIR)/include/asm-x86/mach-*/*.h)
 
 # Require GCC v3.4+ (to avoid issues with alignment constraints in Xen headers)
 $(call cc-ver-check,CC,0x030400,"Xen requires at least gcc-3.4")




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


 


Rackspace

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