Skip to content

Commit

Permalink
Adjust compile kernel parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Feb 7, 2022
1 parent 2054f49 commit 867d510
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recompile
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ make_kernel() {
export LOCALVERSION="${custom_name}"
export PATH=${path_clang}
export CROSS_COMPILE=${toolchain_path}/${gcc_file//.tar.xz/}/bin/aarch64-none-linux-gnu-
export CLANG_TRIPLE=${toolchain_path}/${clang_file//.tar.xz/}/bin
export CC=${toolchain_path}/${clang_file//.tar.xz/}/bin/clang
export LD=${toolchain_path}/${clang_file//.tar.xz/}/bin/ld.lld
# Set $PATH variable for ~/.bashrc
Expand All @@ -272,11 +271,10 @@ make_kernel() {
echo -e "${INFO} LOCALVERSION: [ ${LOCALVERSION} ]"
echo -e "${INFO} PATH: [ ${PATH} ]"
echo -e "${INFO} CROSS_COMPILE: [ ${CROSS_COMPILE} ]"
echo -e "${INFO} CLANG_TRIPLE: [ ${CLANG_TRIPLE} ]"
echo -e "${INFO} CC: [ ${CC} ]"
echo -e "${INFO} LD: [ ${LD} ]"
# Set generic make string
MAKE_SET_STRING=" ARCH=${ARCH} CROSS_COMPILE=${CROSS_COMPILE} CLANG_TRIPLE=${CLANG_TRIPLE} CC=${CC} LD=${LD} LLVM=1 LLVM_IAS=1 LOCALVERSION=${LOCALVERSION} "
MAKE_SET_STRING=" ARCH=${ARCH} CROSS_COMPILE=${CROSS_COMPILE} CC=${CC} LD=${LD} LLVM=1 LLVM_IAS=1 LOCALVERSION=${LOCALVERSION} "

# Make clean/mrproper
#make ${MAKE_SET_STRING} clean
Expand Down

0 comments on commit 867d510

Please sign in to comment.