X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Externals%2Fcross-compiler%2FMakefile;h=52397094ff266bb43309ddd1d4550fa4d3a09d6d;hb=015f48988e0ff398409d71dfc692005ab439490a;hp=4fcde2e8c86384112d8831e155940f5d8f75efe8;hpb=a6bca9642c0e2a321eaf34ffbd8b0cf0ce386545;p=tpg%2Facess2.git 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