Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 1 | From b608a817df2b652cd5fa1b5a7cf14b7d2d8afd5f 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 | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 12 | --- |
| 13 | Makefile | 4 ++-- |
| 14 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 15 | |
| 16 | diff --git a/Makefile b/Makefile |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 17 | index 636f191..9f57d2c 100644 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 18 | --- a/Makefile |
| 19 | +++ b/Makefile |
| 20 | @@ -1,6 +1,6 @@ |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 21 | VERSION = 1.10 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 22 | -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 Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 29 | -- |
| 30 | 2.29.2 |
| 31 | |