-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALPS06334164] ANDROID: clang: update to 13.0.2
[Detail] https://android-review.googlesource.com/c/kernel/common/+/1823999 [Solution] 1. replace r428724 to r433403 2. disable -Wunused-but-set-variable 3. fix error in sspm_timesync.c:174:37: error: overflow in expression; result is 1385447424 with type long [-Werror,-Winteger-overflow] MTK-Commit-Id: 7e87be8100d15ce2f0e44dbc3b1146197cf2d5a3 CR-Id: ALPS06334164 Feature: build process Change-Id: I9be5fa9006f8bf535e24da3e52a919b09aa8d14d Signed-off-by: Po Hu <[email protected]>
- Loading branch information
Po Hu
authored and
alan.hu
committed
Dec 5, 2021
1 parent
adaf578
commit 66517ef
Showing
10 changed files
with
74 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ARCH=arm64 | ||
CROSS_COMPILE=aarch64-linux-gnu- | ||
LLVM=1 | ||
LLVM_IAS=1 | ||
LD_LIBRARY_PATH=prebuilts/clang/host/linux-x86/clang-r433403b/lib64:$$LD_LIBRARY_PATH | ||
# DEFCONFIG=defconfig | ||
KERNEL_DIR=kernel-4.19 | ||
CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-r433403b/bin | ||
# for check scripts | ||
CC=clang | ||
LD=ld.lld | ||
AR=llvm-ar | ||
NM=llvm-nm | ||
OBJCOPY=llvm-objcopy | ||
OBJDUMP=llvm-objdump | ||
READELF=llvm-readelf | ||
OBJSIZE=llvm-size | ||
STRIP=llvm-strip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ARCH=arm | ||
|
||
CROSS_COMPILE=arm-linux-gnueabi- | ||
LLVM=1 | ||
|
||
# DEFCONFIG=defconfig | ||
KERNEL_DIR=kernel-4.19 | ||
CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-r433403b/bin | ||
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gas/linux-x86 | ||
# for check scripts | ||
CC=clang | ||
LD=ld.lld | ||
AR=llvm-ar | ||
NM=llvm-nm | ||
OBJCOPY=llvm-objcopy | ||
OBJDUMP=llvm-objdump | ||
READELF=llvm-readelf | ||
OBJSIZE=llvm-size | ||
STRIP=llvm-strip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters