projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32022fd
)
tools, bpf: Do not force gcc as CC
author
Brett Mastbergen
<brett.mastbergen@gmail.com>
Tue, 9 Jun 2020 21:35:06 +0000
(17:35 -0400)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Wed, 10 Jun 2020 11:40:04 +0000
(13:40 +0200)
This allows transparent cross-compilation with CROSS_COMPILE by
relying on
7ed1c1901fe5
("tools: fix cross-compile var clobbering").
Same change was applied to tools/bpf/bpftool/Makefile in
9e88b9312acb
("tools: bpftool: do not force gcc as CC").
Signed-off-by: Brett Mastbergen <brett.mastbergen@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link:
https://lore.kernel.org/bpf/20200609213506.3299-1-brett.mastbergen@gmail.com
tools/bpf/Makefile
patch
|
blob
|
history
diff --git
a/tools/bpf/Makefile
b/tools/bpf/Makefile
index
77472e2
..
6df1850
100644
(file)
--- a/
tools/bpf/Makefile
+++ b/
tools/bpf/Makefile
@@
-3,7
+3,6
@@
include ../scripts/Makefile.include
prefix ?= /usr/local
-CC = gcc
LEX = flex
YACC = bison
MAKE = make