218a206274
Compiler and tool names need to be updated in Makefile. Also fix some patch offsets while we are at it
24 lines
633 B
Diff
24 lines
633 B
Diff
--- ./Makefile.orig 2021-08-19 16:48:15.223628163 +0200
|
|
+++ ./Makefile 2021-08-19 16:47:29.456942514 +0200
|
|
@@ -289,14 +289,14 @@
|
|
# Make variables (CC, etc...)
|
|
|
|
AS = $(CROSS_COMPILE)as
|
|
-CC = $(CROSS_COMPILE)gcc
|
|
+CC = $(CROSS_COMPILE)clang
|
|
LD = $(CC) -nostdlib
|
|
CPP = $(CC) -E
|
|
-AR = $(CROSS_COMPILE)ar
|
|
-NM = $(CROSS_COMPILE)nm
|
|
-STRIP = $(CROSS_COMPILE)strip
|
|
-OBJCOPY = $(CROSS_COMPILE)objcopy
|
|
-OBJDUMP = $(CROSS_COMPILE)objdump
|
|
+AR = llvm-ar
|
|
+NM = llvm-nm
|
|
+STRIP = llvm-strip
|
|
+OBJCOPY = llvm-objcopy
|
|
+OBJDUMP = llvm-objdump
|
|
PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config
|
|
AWK = awk
|
|
GENKSYMS = scripts/genksyms/genksyms
|