[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH][1/4] Cross-compilation enablement.
Signed-off-by: Michal Ostrowski <mostrows@xxxxxxxxxxxxxx> changeset: 6334:28c822457019 user: mostrows@xxxxxxxxxxxxxxxxxxxxx date: Mon Aug 29 18:48:06 2005 -0400 summary: Fixes for cross-compilation; ensure that toolchain is selected by Config.mk diff -r 648c366d588b -r 28c822457019 tools/console/Makefile --- a/tools/console/Makefile Tue Aug 23 13:53:04 2005 +++ b/tools/console/Makefile Mon Aug 29 22:48:06 2005 @@ -9,8 +9,7 @@ INSTALL_PROG = $(INSTALL) -m0755 INSTALL_DIR = $(INSTALL) -d -m0755 -CC = gcc -CFLAGS = -Wall -Werror -g3 +CFLAGS += -Wall -Werror -g3 CFLAGS += -I $(XEN_XCS) CFLAGS += -I $(XEN_LIBXC) diff -r 648c366d588b -r 28c822457019 tools/examples/Makefile --- a/tools/examples/Makefile Tue Aug 23 13:53:04 2005 +++ b/tools/examples/Makefile Mon Aug 29 22:48:06 2005 @@ -1,3 +1,6 @@ +XEN_ROOT = ../../ +include $(XEN_ROOT)/tools/Rules.mk + INSTALL = install INSTALL_DIR = $(INSTALL) -d -m0755 INSTALL_PROG = $(INSTALL) -m0755 diff -r 648c366d588b -r 28c822457019 tools/xcutils/Makefile --- a/tools/xcutils/Makefile Tue Aug 23 13:53:04 2005 +++ b/tools/xcutils/Makefile Mon Aug 29 22:48:06 2005 @@ -18,8 +18,6 @@ PROGRAMS_INSTALL_DIR = /usr/libexec/xen INCLUDES += -I $(XEN_LIBXC) - -CC := gcc CFLAGS += -Wall -Werror -O3 -fno-strict-aliasing CFLAGS += $(INCLUDES) diff -r 648c366d588b -r 28c822457019 tools/xenstat/Makefile --- a/tools/xenstat/Makefile Tue Aug 23 13:53:04 2005 +++ b/tools/xenstat/Makefile Mon Aug 29 22:48:06 2005 @@ -3,7 +3,11 @@ SUBDIRS := SUBDIRS += libxenstat + +# This doesn't cross-compile (cross-compile environments rarely have curses) +ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) SUBDIRS += xentop +endif .PHONY: all install clean Attachment:
pgpHHaiP9nwMd.pgp _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |