kernel: update build tools

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
UtsavBalar1231
2020-08-03 20:18:52 +05:30
parent fe47fd9ee2
commit 427dcc5f2e
5 changed files with 31 additions and 18 deletions

View File

@@ -1,8 +1,7 @@
# iMMENSITY KERNAL for RedmiK20pro / Mi9Tpro
# IMMENSiTY KERNAL for Redmi K20pro / Mi9Tpro
![logo](https://github.com/UtsavBalar1231/xda-stuff/raw/master/immensity-new.png "logo here")
> Based on the Qualcomm AUTO tag **LE.UM.4.2.1.r1-02600-QCS404.0**
> Merged AOSP kernel_common/android-4.14-stable [4.14.185]
> Current CAF tag: **LE.UM.4.1.1.r1-00300-sa515m**
> Merged AOSP android-4.14-stable [4.14.192]
> Latest CAF tag: **LE.UM.3.2.3-45100-SA2150p**

View File

@@ -6,14 +6,14 @@ export KBUILD_BUILD_HOST=CuntsSpace
make ARCH=arm64 \
O=${OUT_DIR} \
raphael_defconfig \
-j4
-j8
scripts/config --file ${OUT_DIR}/.config \
-e LTO \
-e LTO_CLANG \
-e SHADOW_CALL_STACK \
-e TOOLS_SUPPORT_RELR \
-e LD_LLD \
-e LLVM_POLLY
-e LD_LLD
cd ${OUT_DIR}
make O=${OUT_DIR} \
@@ -24,17 +24,20 @@ cd ../
PATH=/home/utsavthecunt/proton-clang/bin/:$PATH
make ARCH=arm64 \
O=out \
O=${OUT_DIR} \
CC="ccache clang" \
LLVM_IAS=1 \
LD="ld.lld" \
AR="llvm-ar" \
NM="llvm-nm" \
OBJCOPY="llvm-objcopy" \
OBJDUMP="llvm-objdump" \
OBJSIZE="llvm-size" \
READELF="llvm-readelf" \
STRIP="llvm-strip" \
CLANG_TRIPLE="aarch64-linux-gnu-" \
CROSS_COMPILE="aarch64-linux-gnu-" \
CROSS_COMPILE_ARM32="arm-linux-gnueabi-" \
-j4
-j8
rm out/.version
rm ${OUT_DIR}/.version

View File

@@ -6,14 +6,14 @@ export KBUILD_BUILD_HOST=CuntsSpace
make ARCH=arm64 \
O=${OUT_DIR} \
raphael_defconfig \
-j4
-j8
scripts/config --file ${OUT_DIR}/.config \
-d LTO \
-d LTO_CLANG \
-e SHADOW_CALL_STACK \
-e TOOLS_SUPPORT_RELR \
-e LD_LLD \
-e LLVM_POLLY
-e LD_LLD
cd ${OUT_DIR}
make O=${OUT_DIR} \
@@ -24,7 +24,7 @@ cd ../
PATH=/home/utsavthecunt/proton-clang/bin/:$PATH
make ARCH=arm64 \
O=out \
O=${OUT_DIR} \
CC="ccache clang" \
LD="ld.lld" \
AR="llvm-ar" \
@@ -35,6 +35,6 @@ make ARCH=arm64 \
CLANG_TRIPLE="aarch64-linux-gnu-" \
CROSS_COMPILE="aarch64-linux-gnu-" \
CROSS_COMPILE_ARM32="arm-linux-gnueabi-" \
-j4
-j8
rm out/.version
rm ${OUT_DIR}/.version

10
update Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
OUT_DIR=out/
make ARCH=arm64 \
O=${OUT_DIR} \
raphael_defconfig \
-j$(nproc --all)
mv out/.config arch/arm64/configs/raphael_defconfig
git diff

View File

@@ -4,9 +4,10 @@ OUT_DIR=out/
make ARCH=arm64 \
O=${OUT_DIR} \
raphael_defconfig \
-j4
-j8
cp ${OUT_DIR}/.config arch/arm64/configs/raphael_defconfig
git add arch/
git add arch/arm64/configs/raphael_defconfig
git commit -s -m "ARM64: configs: raphael: Update defconfig"