summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-rt/rt-tests/files')
-rw-r--r--meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch b/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch
new file mode 100644
index 0000000000..c18928ed02
--- /dev/null
+++ b/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch
@@ -0,0 +1,28 @@
1From caaa142826504ad0375f9d21c558f10f31305cdb Mon Sep 17 00:00:00 2001
2From: 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]
12---
13 Makefile | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/Makefile b/Makefile
17index 05fc5ed..7a289c8 100644
18--- a/Makefile
19+++ b/Makefile
20@@ -1,6 +1,6 @@
21 VERSION = 1.8
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