git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f9526
)
BuildConf - Use cross-compiler
author
John Hodge
<
[email protected]
>
Sat, 31 May 2014 06:00:29 +0000
(14:00 +0800)
committer
John Hodge
<
[email protected]
>
Sat, 31 May 2014 06:00:29 +0000
(14:00 +0800)
Makefile.cfg
patch
|
blob
|
history
diff --git
a/Makefile.cfg
b/Makefile.cfg
index
022a02e
..
daa9d94
100644
(file)
--- a/
Makefile.cfg
+++ b/
Makefile.cfg
@@
-35,12
+35,21
@@
ifeq ($(ARCHDIR),)
ARCHDIR := x86
endif
+# Default compilers
+CC = $(COMPILERDIR)bin/$(TRIPLET)-gcc
+CXX = $(COMPILERDIR)bin/$(TRIPLET)-g++
+LD = $(COMPILERDIR)bin/$(TRIPLET)-ld
+OBJDUMP = $(COMPILERDIR)bin/$(TRIPLET)-objdump
+
ifneq ($(ARCH),host)
ifneq ($(ARCHDIR),$(ARCH))
include $(ACESSDIR)/BuildConf/$(ARCHDIR)/Makefile.cfg
endif
endif
+COMPILERDIR := $(ACESSDIR)/Externals/Output/$(ARCHDIR)-BUILD/
+PATH := $(COMPILERDIR)bin/ $(PATH)
+
ifeq ($(PLATFORM),)
PLATFORM := default
endif
UCC
git Repository :: git.ucc.asn.au