X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Makefile.cfg;h=daa9d94940945bf9395e31052bb02aa70e5830e6;hb=71402d670b1de4f4db7c1768e92ac1f723b51d9a;hp=022a02ef573eb705a4711817ffb39f28f401e64a;hpb=62f9205dc3ba2c1f5b7b0f18db426c7ab9adc2c0;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index 022a02ef..daa9d949 100644 --- 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