blob: b177ff7c5f2d2aae408a3bef4f289a6c9a50c4ed [file] [log] [blame]
Andrew Geisslerd1e89492021-02-12 15:35:20 -06001From b608a817df2b652cd5fa1b5a7cf14b7d2d8afd5f Mon Sep 17 00:00:00 2001
Andrew Geissler6ce62a22020-11-30 19:58:47 -06002From: Randy Witt <randy.e.witt@intel.com>
3Date: Fri, 16 Oct 2020 16:54:30 -0700
4Subject: [PATCH] Makefile: Allow for CC and AR to be overridden
5
6The Makefile previously allowed for this but it was removed upstream in
7commit 7763cf316d7896fa05b816a46998f0827ab6e6eb.
8
9Signed-off-by: Randy Witt <randy.e.witt@intel.com>
10
11Upstream-Status: Inappropriate [other]
Andrew Geissler6ce62a22020-11-30 19:58:47 -060012---
13 Makefile | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/Makefile b/Makefile
Andrew Geisslerd1e89492021-02-12 15:35:20 -060017index 636f191..9f57d2c 100644
Andrew Geissler6ce62a22020-11-30 19:58:47 -060018--- a/Makefile
19+++ b/Makefile
20@@ -1,6 +1,6 @@
Andrew Geisslerd1e89492021-02-12 15:35:20 -060021 VERSION = 1.10
Andrew Geissler6ce62a22020-11-30 19:58:47 -060022-CC = $(CROSS_COMPILE)gcc
23-AR = $(CROSS_COMPILE)ar
24+CC ?= $(CROSS_COMPILE)gcc
25+AR ?= $(CROSS_COMPILE)ar
26
27 OBJDIR = bld
28
Andrew Geisslerd1e89492021-02-12 15:35:20 -060029--
302.29.2
31