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, 6 insertions, 4 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 8fd94b176c..b177ff7c5f 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 f89d6d6d23e0dacfd0008f686a457d536edc406a Mon Sep 17 00:00:00 2001 1From b608a817df2b652cd5fa1b5a7cf14b7d2d8afd5f 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,17 +9,16 @@ 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
13--- 12---
14 Makefile | 4 ++-- 13 Makefile | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-) 14 1 file changed, 2 insertions(+), 2 deletions(-)
16 15
17diff --git a/Makefile b/Makefile 16diff --git a/Makefile b/Makefile
18index c3ebbd7..2176835 100644 17index 636f191..9f57d2c 100644
19--- a/Makefile 18--- a/Makefile
20+++ b/Makefile 19+++ b/Makefile
21@@ -1,6 +1,6 @@ 20@@ -1,6 +1,6 @@
22 VERSION = 1.9 21 VERSION = 1.10
23-CC = $(CROSS_COMPILE)gcc 22-CC = $(CROSS_COMPILE)gcc
24-AR = $(CROSS_COMPILE)ar 23-AR = $(CROSS_COMPILE)ar
25+CC ?= $(CROSS_COMPILE)gcc 24+CC ?= $(CROSS_COMPILE)gcc
@@ -27,3 +26,6 @@ index c3ebbd7..2176835 100644
27 26
28 OBJDIR = bld 27 OBJDIR = bld
29 28
29--
302.29.2
31