Skip to content

Commit

Permalink
Kbuild: SwitchBack To LLVM_CLANG
Browse files Browse the repository at this point in the history
- For Inline Building Juice-Bengal

Signed-off-by: Carlos Jimenez (JavaShin-X) <[email protected]>
  • Loading branch information
javashin committed Jun 16, 2022
1 parent 121acc7 commit 69a283b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,6 @@ KBUILD_HOSTLDFLAGS := $(HOST_LFS_LDFLAGS) $(HOSTLDFLAGS)
KBUILD_HOSTLDLIBS := $(HOST_LFS_LIBS) $(HOSTLDLIBS)

# Make variables (CC, etc...)
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
CC = $(CROSS_COMPILE)gcc
CPP = $(CC) -E
ifneq ($(LLVM),)
CC = clang
Expand All @@ -387,10 +384,10 @@ READELF = llvm-readelf
OBJSIZE = llvm-size
STRIP = llvm-strip
else
REAL_CC = $(CROSS_COMPILE)gcc
CC = $(CROSS_COMPILE)gcc
LD = $(CROSS_COMPILE)ld
AR ?= $(CROSS_COMPILE)ar
NM ?= $(CROSS_COMPILE)nm
AR = $(CROSS_COMPILE)ar
NM = $(CROSS_COMPILE)nm
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
READELF = $(CROSS_COMPILE)readelf
Expand All @@ -402,7 +399,7 @@ YACC = bison
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
INSTALLKERNEL := installkernel
DEPMOD = depmod
DEPMOD = /sbin/depmod
PERL = perl
PYTHON = python
PYTHON2 = python2
Expand Down
5 changes: 3 additions & 2 deletions arch/arm64/configs/vendor/fury-perf_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZ4 is not set
CONFIG_LTO_GCC=y
CONFIG_GCC_GRAPHITE=y
CONFIG_LD_DEAD_CODE_DATA_ELIMINATION=y
# CONFIG_UID16 is not set
# CONFIG_FHANDLE is not set
Expand Down Expand Up @@ -86,6 +84,9 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_JUMP_LABEL=y
# CONFIG_STACKPROTECTOR is not set
CONFIG_LD_LLD=y
CONFIG_LTO_CLANG=y
CONFIG_LLVM_POLLY=y
# CONFIG_VMAP_STACK is not set
# CONFIG_BLK_DEV_BSG is not set
CONFIG_BLK_WBT=y
Expand Down

0 comments on commit 69a283b

Please sign in to comment.