Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | From 05ccf5045adf4248f29623ad0db2d2a55ae5cd06 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 2 | From: Randy Witt <randy.e.witt@intel.com> |
| 3 | Date: Fri, 16 Oct 2020 16:54:30 -0700 |
| 4 | Subject: [PATCH] Makefile: Allow for CC and AR to be overridden |
| 5 | |
| 6 | The Makefile previously allowed for this but it was removed upstream in |
| 7 | commit 7763cf316d7896fa05b816a46998f0827ab6e6eb. |
| 8 | |
| 9 | Signed-off-by: Randy Witt <randy.e.witt@intel.com> |
| 10 | |
| 11 | Upstream-Status: Inappropriate [other] |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 12 | |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 13 | --- |
| 14 | Makefile | 4 ++-- |
| 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 16 | |
| 17 | diff --git a/Makefile b/Makefile |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 18 | index ec5d693..ab8a8de 100644 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 19 | --- a/Makefile |
| 20 | +++ b/Makefile |
| 21 | @@ -1,6 +1,6 @@ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | VERSION = 2.3 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 23 | -CC = $(CROSS_COMPILE)gcc |
| 24 | -AR = $(CROSS_COMPILE)ar |
| 25 | +CC ?= $(CROSS_COMPILE)gcc |
| 26 | +AR ?= $(CROSS_COMPILE)ar |
| 27 | |
| 28 | OBJDIR = bld |
| 29 | |