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.
This commit is contained in:
David Lechner
2019-12-21 14:22:26 -06:00
committed by Damien George
parent d56bc6e03d
commit e79424d672
8 changed files with 9 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ include $(TOP)/py/py.mk
ARCH = $(shell uname -m)
ifneq ("$(ARCH)", "ppc64")
ifneq ("$(ARCH)", "ppc64le")
CROSS_COMPILE = powerpc64le-linux-
CROSS_COMPILE ?= powerpc64le-linux-
endif
endif