[Skiboot] [PATCH] Makefile: Support CROSS_COMPILE as well as CROSS

Michael Ellerman mpe at ellerman.id.au
Mon Dec 15 11:53:20 AEDT 2014

A lot of projects use CROSS_COMPILE for specifying the cross compile
prefix, so support that as well as CROSS.

For example this allows a user to set CROSS_COMPILE once in their
environment and build both Linux & Skiboot with the same setting.

Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 96c387f0bd4f..ec82317ec005 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@
 # Example: CROSS= powerpc64-unknown-linux-gnu-
 ARCH = $(shell uname -m)
 ifeq ("$(ARCH)", "ppc64")
 	CROSS ?=

More information about the Skiboot mailing list