diff options
Diffstat (limited to 'src/occ_405/img_defs.mk')
-rw-r--r-- | src/occ_405/img_defs.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/occ_405/img_defs.mk b/src/occ_405/img_defs.mk index 45ab35d..2e3a4f3 100644 --- a/src/occ_405/img_defs.mk +++ b/src/occ_405/img_defs.mk @@ -110,8 +110,12 @@ export SSXLIB_SRCDIR = $(abspath ../lib/ssxlib) endif ifndef GCC-TOOL-PREFIX +ifdef CROSS_PREFIX +GCC-TOOL-PREFIX = $(CROSS_PREFIX) +else GCC-TOOL-PREFIX = $(CTEPATH)/tools/ppcgcc/prod/bin/powerpc-linux- endif +endif ifndef PPETRACEPP_DIR export PPETRACEPP_DIR = $(abspath ../ppe/tools/ppetracepp) @@ -122,12 +126,12 @@ export PPETOOLS_OBJDIR = $(BASE_OBJDIR)/ppetools endif ifndef TRACEPP_DIR -export TRACEPP_DIR = $(abspath ../tracepp) +export TRACEPP_DIR = $(abspath ../tools/tracepp) endif CC_ASM = $(GCC-TOOL-PREFIX)gcc TCC = $(PPETOOLS_OBJDIR)/ppetracepp $(GCC-TOOL-PREFIX)gcc -THCC = $(TRACEPP_DIR)/tracepp $(GCC-TOOL-PREFIX)gcc +THCC = $(PPETOOLS_OBJDIR)/tracepp $(GCC-TOOL-PREFIX)gcc CC = $(GCC-TOOL-PREFIX)gcc AS = $(GCC-TOOL-PREFIX)as AR = $(GCC-TOOL-PREFIX)ar |