From: John Hodge Date: Tue, 5 Mar 2013 03:20:52 +0000 (+0800) Subject: Externals/cross-compiler - Fixed sysroot to be arch-specific X-Git-Tag: rel0.15~538 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=f8113d738b083dccf19a7253dbc4debcd6489696;p=tpg%2Facess2.git Externals/cross-compiler - Fixed sysroot to be arch-specific --- diff --git a/Externals/cross-compiler/Makefile b/Externals/cross-compiler/Makefile index 4fcde2e8..52397094 100644 --- a/Externals/cross-compiler/Makefile +++ b/Externals/cross-compiler/Makefile @@ -21,7 +21,7 @@ PARLEVEL ?= 1 TARGET=$(BFDARCH)-pc-acess2 PREFIX=$(shell pwd)/cross -SYSROOT=$(shell pwd)/sysroot +SYSROOT=$(shell pwd)/sysroot-$(ARCH) .PHONY: all clean binutils gcc include @@ -31,6 +31,7 @@ include: mkdir -p $(PREFIX) mkdir -p $(SYSROOT)/usr -ln -s $(ACESSDIR)/Usermode/include $(SYSROOT)/usr/include + -ln -s $(ACESSDIR)/Usermode/Output/$(ARCH)/Libs $(SYSROOT)/usr/lib gcc: $(GCC_DIR) $(PREFIX)/bin/$(TARGET)-gcc