aboutsummaryrefslogtreecommitdiff
path: root/projects/mosys/patches/0001-Force-the-definition-of-build-tools.patch
blob: cb5728db8637a6dc640fed6e76ea7efb5750b6c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From f8aa6a0eeaa6ae3fd4dfe2d60118a47a3867c906 Mon Sep 17 00:00:00 2001
From: Paul Kocialkowski <contact@paulk.fr>
Date: Wed, 10 Feb 2016 20:44:09 +0100
Subject: [PATCH] Force the definition of build tools

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 Makefile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index c4cd006..5244242 100644
--- a/Makefile
+++ b/Makefile
@@ -264,16 +264,16 @@ include $(srctree)/scripts/Kbuild.include
 
 # Make variables (CC, etc...)
 
-AR		?= $(CROSS_COMPILE)ar
-AS		?= $(CROSS_COMPILE)as
-CC		?= $(CROSS_COMPILE)gcc
-CPP		?= $(CC) -E
-LD		?= $(CROSS_COMPILE)ld
-NM		?= $(CROSS_COMPILE)nm
-STRIP		?= $(CROSS_COMPILE)strip
-OBJCOPY		?= $(CROSS_COMPILE)objcopy
-OBJDUMP		?= $(CROSS_COMPILE)objdump
-INSTALL		?= install
+AR		:= $(CROSS_COMPILE)ar
+AS		:= $(CROSS_COMPILE)as
+CC		:= $(CROSS_COMPILE)gcc
+CPP		:= $(CC) -E
+LD		:= $(CROSS_COMPILE)ld
+NM		:= $(CROSS_COMPILE)nm
+STRIP		:= $(CROSS_COMPILE)strip
+OBJCOPY		:= $(CROSS_COMPILE)objcopy
+OBJDUMP		:= $(CROSS_COMPILE)objdump
+INSTALL		:= install
 AWK		= awk
 DEPMOD		= /sbin/depmod
 CHECK		= sparse
-- 
1.9.1