All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix cross compiling ia64 on x86
@ 2007-01-30 12:22 Isaku Yamahata
  2007-01-30 13:49 ` Gerd Hoffmann
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Isaku Yamahata @ 2007-01-30 12:22 UTC (permalink / raw)
  To: xen-devel; +Cc: xen-ia64-devel

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

fix cross-compile failure ia64 on x86 of c/s 13636:583441e296a1.
When cross-compiling ia64 on x86 box, compiling checker.c fails without
this patch.

-- 
yamahata

[-- Attachment #2: 13663_94c3db4748b2_cross_compilation_fix_13636_583441e296a1.patch --]
[-- Type: text/x-diff, Size: 1655 bytes --]

# HG changeset patch
# User yamahata@valinux.co.jp
# Date 1170143511 -32400
# Node ID 94c3db4748b2bf5867a1e3585c5edeb595875de2
# Parent  5bb0840984936749b4e99f53931d72a8579d302c
fix cross-compile failure ia64 on x86 of c/s 13636:583441e296a1.
When cross-compiling ia64 on x86 box, compiling checker.c fails without
this patch.
PATCHNAME: cross_compilation_fix_13636_583441e296a1

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>

diff -r 5bb084098493 -r 94c3db4748b2 xen/include/public/foreign/Makefile
--- a/xen/include/public/foreign/Makefile	Mon Jan 29 13:22:21 2007 +0000
+++ b/xen/include/public/foreign/Makefile	Tue Jan 30 16:51:51 2007 +0900
@@ -14,12 +14,8 @@ clean:
 	rm -f *.pyc *.o *~
 
 check-headers: checker
-ifeq ($(CROSS_COMPILE),)
 	./checker > $(XEN_TARGET_ARCH).size
 	diff -u reference.size $(XEN_TARGET_ARCH).size
-else
-	@echo "cross build: skipping check"
-endif
 
 x86_32.h: ../arch-x86/xen-x86_32.h ../arch-x86/xen.h ../xen.h $(scripts)
 	python mkheader.py $* $@ $(filter %.h,$^)
diff -r 5bb084098493 -r 94c3db4748b2 xen/include/public/foreign/mkchecker.py
--- a/xen/include/public/foreign/mkchecker.py	Mon Jan 29 13:22:21 2007 +0000
+++ b/xen/include/public/foreign/mkchecker.py	Tue Jan 30 16:51:51 2007 +0900
@@ -38,10 +38,7 @@ for struct in structs:
 for struct in structs:
     f.write('\tprintf("%%-20s |", "%s");\n' % struct);
     for a in archs:
-        if a == arch:
-            s = struct; # native
-        else:
-            s = struct + "_" + a;
+        s = struct + "_" + a;
         f.write('#ifdef %s_has_no_%s\n' % (a, struct));
         f.write('\tprintf("%8s", "-");\n');
         f.write("#else\n");

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-02-01  2:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30 12:22 [PATCH] fix cross compiling ia64 on x86 Isaku Yamahata
2007-01-30 13:49 ` Gerd Hoffmann
2007-01-31  2:26   ` Isaku Yamahata
2007-01-31 11:30     ` Gerd Hoffmann
2007-02-01  2:55       ` [PATCH] fix corss compile ia64 build on x86 (Re: [PATCH] fix cross compiling ia64 on x86) Isaku Yamahata
2007-01-30 13:55 ` [PATCH] fix cross compiling ia64 on x86 Keir Fraser
2007-01-30 13:56   ` Keir Fraser
2007-01-30 14:24 ` [Xen-devel] " Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.