aboutsummaryrefslogtreecommitdiff
path: root/ports/pic16bit
diff options
context:
space:
mode:
authorDavid Lechner2019-12-21 14:22:26 -0600
committerDamien George2019-12-27 23:53:16 +1100
commite79424d672919bfc59862d14f2d9e78e43e8582e (patch)
tree8be4a5782054d0bf3f8ab40378237cdd47a8fcea /ports/pic16bit
parentd56bc6e03d842b1a2c91c987ba936752d0c2fe1b (diff)
ports: Allow overriding CROSS_COMPILE in a custom makefile.
Many ports already allow overriding CROSS_COMPILE. This modifies the remaining ports to allow it as well.
Diffstat (limited to 'ports/pic16bit')
-rw-r--r--ports/pic16bit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/pic16bit/Makefile b/ports/pic16bit/Makefile
index 8a931979d..fa6de38e3 100644
--- a/ports/pic16bit/Makefile
+++ b/ports/pic16bit/Makefile
@@ -7,7 +7,7 @@ QSTR_DEFS = qstrdefsport.h
include $(TOP)/py/py.mk
XC16 = /opt/microchip/xc16/v1.35
-CROSS_COMPILE = $(XC16)/bin/xc16-
+CROSS_COMPILE ?= $(XC16)/bin/xc16-
PARTFAMILY = dsPIC33F
PART = 33FJ256GP506