13 messages in com.xensource.lists.xen-ia64-devel[Xen-ia64-devel] [PATCH 2 of 2] cross...
FromSent OnAttachments
Aron Griffis31 Jul 2008 07:51 
Aron Griffis31 Jul 2008 07:51 
Aron Griffis31 Jul 2008 07:51 
Ian Jackson31 Jul 2008 08:16 
Samuel Thibault31 Jul 2008 08:28 
Samuel Thibault31 Jul 2008 08:34 
Ian Jackson31 Jul 2008 09:47 
Aron Griffis31 Jul 2008 12:20 
Ian Jackson01 Aug 2008 09:26 
Aron Griffis01 Aug 2008 10:22 
Aron Griffis04 Aug 2008 15:30 
Aron Griffis06 Aug 2008 06:17 
Ian Jackson11 Aug 2008 02:15 
Subject:[Xen-ia64-devel] [PATCH 2 of 2] cross-build fixes in ioemu-remote
From:Aron Griffis (ar@hp.com)
Date:07/31/2008 07:51:17 AM
List:com.xensource.lists.xen-ia64-devel

Partly fix cross-building in ioemu-remote:

- Don't call install -s; it uses the host strip program which doesn't understand cross-built binaries. This same change was in the legacy ioemu dir.

- The ioemu version of cc-option doesn't take $(CC) as the first argument, so all builds were getting -msse2 regardless of architecture.

Signed-off-by: Aron Griffis <ar@hp.com>

diff --git a/Makefile b/Makefile index bebd244..b055b3f 100644 --- a/Makefile +++ b/Makefile @@ -205,7 +205,7 @@ endif install: all $(if $(BUILD_DOCS),install-doc) mkdir -p "$(DESTDIR)$(bindir)" ifneq ($(TOOLS),) - $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" + $(INSTALL) -m 755 $(TOOLS) "$(DESTDIR)$(bindir)" endif mkdir -p "$(DESTDIR)$(datadir)" set -e; for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ diff --git a/Makefile.target b/Makefile.target index 1aace9c..e796d61 100644 --- a/Makefile.target +++ b/Makefile.target @@ -707,7 +707,7 @@ clean:

install: all install-hook ifneq ($(PROGS),) - $(INSTALL) -m 755 -s $(PROGS) "$(DESTDIR)$(bindir)" + $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" endif

# Include automatically generated dependency files diff --git a/xen-hooks.mak b/xen-hooks.mak index af977ef..c90f546 100644 --- a/xen-hooks.mak +++ b/xen-hooks.mak @@ -3,7 +3,7 @@ CPPFLAGS+= -I$(XEN_ROOT)/tools/xenstore CPPFLAGS+= -I$(XEN_ROOT)/tools/include CPPFLAGS+= -I$(XEN_ROOT)/tools/blktap/lib

-SSE2 := $(call cc-option,$(CC),-msse2,) +SSE2 := $(call cc-option,-msse2,) ifeq ($(SSE2),-msse2) CFLAGS += -DUSE_SSE2=1 -msse2 endif