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

[Xen-changelog] Avoid ccache and distcc for x86-64 compilation of ia32/syscall32.c



# HG changeset patch
# User Michael.Fetterman@xxxxxxxxxxxx
# Node ID f61b8d362fc41372762eaf7fec437f403afa8fc7
# Parent  be41d7631c2ffebb3c35ce29a6b7c4ae01161ea1
Avoid ccache and distcc for x86-64 compilation of ia32/syscall32.c

syscall32.c currently contains inline asm which has .incbin directives.
This defeats ccache's signature checks, and also breaks distcc.
Make sure neither ccache nor distcc compiles this file.

Signed-off-by: Michael.Fetterman@xxxxxxxxxxxx

diff -r be41d7631c2f -r f61b8d362fc4 
linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile
--- a/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile        Wed Nov 23 
11:11:05 2005
+++ b/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile        Wed Nov 23 
13:55:08 2005
@@ -20,6 +20,12 @@
 
 $(obj)/syscall32.o: $(src)/syscall32.c \
        $(foreach F,int80 sysenter syscall,$(obj)/vsyscall-$F.so)
+
+# syscall32.c currently contains inline asm which has .incbin directives.
+# This defeats ccache's signature checks, and also breaks distcc.
+# Make sure neither ccache nor distcc compiles this file.
+#
+$(obj)/syscall32.o: override CC := env CCACHE_DISABLE=1 DISTCC_HOSTS=localhost 
$(CC)
 
 # Teach kbuild about targets
 targets := $(foreach F,int80 sysenter syscall,vsyscall-$F.o vsyscall-$F.so)

_______________________________________________
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®.