Merge branch 'master' of git://localhost/acess2
authorJohn Hodge <[email protected]>
Tue, 5 Mar 2013 07:46:15 +0000 (15:46 +0800)
committerJohn Hodge <[email protected]>
Tue, 5 Mar 2013 07:46:15 +0000 (15:46 +0800)
Externals/cross-compiler/Makefile

index 4fcde2e..5239709 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au