summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch')
-rw-r--r--meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch10
1 files changed, 4 insertions, 6 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
index b177ff7c5f..a1fc9e26a0 100644
--- 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
@@ -1,4 +1,4 @@
1From b608a817df2b652cd5fa1b5a7cf14b7d2d8afd5f Mon Sep 17 00:00:00 2001 1From 7cf4cf097895bd4c3f3d3a6f783c766b3173cf1a Mon Sep 17 00:00:00 2001
2From: Randy Witt <randy.e.witt@intel.com> 2From: Randy Witt <randy.e.witt@intel.com>
3Date: Fri, 16 Oct 2020 16:54:30 -0700 3Date: Fri, 16 Oct 2020 16:54:30 -0700
4Subject: [PATCH] Makefile: Allow for CC and AR to be overridden 4Subject: [PATCH] Makefile: Allow for CC and AR to be overridden
@@ -9,16 +9,17 @@ commit 7763cf316d7896fa05b816a46998f0827ab6e6eb.
9Signed-off-by: Randy Witt <randy.e.witt@intel.com> 9Signed-off-by: Randy Witt <randy.e.witt@intel.com>
10 10
11Upstream-Status: Inappropriate [other] 11Upstream-Status: Inappropriate [other]
12
12--- 13---
13 Makefile | 4 ++-- 14 Makefile | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-) 15 1 file changed, 2 insertions(+), 2 deletions(-)
15 16
16diff --git a/Makefile b/Makefile 17diff --git a/Makefile b/Makefile
17index 636f191..9f57d2c 100644 18index 223a839..a735584 100644
18--- a/Makefile 19--- a/Makefile
19+++ b/Makefile 20+++ b/Makefile
20@@ -1,6 +1,6 @@ 21@@ -1,6 +1,6 @@
21 VERSION = 1.10 22 VERSION = 2.6
22-CC = $(CROSS_COMPILE)gcc 23-CC = $(CROSS_COMPILE)gcc
23-AR = $(CROSS_COMPILE)ar 24-AR = $(CROSS_COMPILE)ar
24+CC ?= $(CROSS_COMPILE)gcc 25+CC ?= $(CROSS_COMPILE)gcc
@@ -26,6 +27,3 @@ index 636f191..9f57d2c 100644
26 27
27 OBJDIR = bld 28 OBJDIR = bld
28 29
29--
302.29.2
31