[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix cross-compile: ia64 build on x86.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1170431682 0 # Node ID 249e7e32dec859c4e869d791214d82955c0a9814 # Parent a39a2f18429c0f7a811657548f45863aff18e415 Fix cross-compile: ia64 build on x86. Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> --- xen/include/public/foreign/Makefile | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff -r a39a2f18429c -r 249e7e32dec8 xen/include/public/foreign/Makefile --- a/xen/include/public/foreign/Makefile Fri Feb 02 15:52:30 2007 +0000 +++ b/xen/include/public/foreign/Makefile Fri Feb 02 15:54:42 2007 +0000 @@ -13,9 +13,16 @@ clean: rm -f checker checker.c $(XEN_TARGET_ARCH).size rm -f *.pyc *.o *~ +ifeq ($(CROSS_COMPILE),) check-headers: checker ./checker > $(XEN_TARGET_ARCH).size diff -u reference.size $(XEN_TARGET_ARCH).size +checker: checker.c $(headers) + $(HOSTCC) $(CFLAGS) -o $@ $< +else +check-headers: + @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,$^) @@ -26,8 +33,5 @@ ia64.h: ../arch-ia64.h ../xen.h $(script ia64.h: ../arch-ia64.h ../xen.h $(scripts) python mkheader.py $* $@ $(filter %.h,$^) -checker: checker.c $(headers) - $(HOSTCC) $(CFLAGS) -o $@ $< - checker.c: $(scripts) python mkchecker.py $(XEN_TARGET_ARCH) $@ $(architectures) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |