blob: a1fc9e26a03e30c06715d5d54437a78ccfdf8e7f [file] [log] [blame]
Patrick Williamsda295312023-12-05 16:48:56 -06001From 7cf4cf097895bd4c3f3d3a6f783c766b3173cf1a 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 Geissler5f350902021-07-23 13:09:54 -040012
Andrew Geissler6ce62a22020-11-30 19:58:47 -060013---
14 Makefile | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/Makefile b/Makefile
Patrick Williamsda295312023-12-05 16:48:56 -060018index 223a839..a735584 100644
Andrew Geissler6ce62a22020-11-30 19:58:47 -060019--- a/Makefile
20+++ b/Makefile
21@@ -1,6 +1,6 @@
Patrick Williamsda295312023-12-05 16:48:56 -060022 VERSION = 2.6
Andrew Geissler6ce62a22020-11-30 19:58:47 -060023-CC = $(CROSS_COMPILE)gcc
24-AR = $(CROSS_COMPILE)ar
25+CC ?= $(CROSS_COMPILE)gcc
26+AR ?= $(CROSS_COMPILE)ar
27
28 OBJDIR = bld
29