[Mod] 修改工具链为:gcc-arm-none-eabi-9-2020-q2-update

This commit is contained in:
gaoyang3513
2024-07-22 20:17:45 +08:00
parent 2c317efbcd
commit e71ca26d50
6 changed files with 6 additions and 7 deletions

View File

@ -37,4 +37,3 @@ fi
cp ${OUTPUT_PATH}/../${OUTPUT_NAME}.bin ${OUTPUT_IMAGE_PATH}
# Generate Hex file
${SREC_CAT} ${OUTPUT_IMAGE_PATH}/${OUTPUT_NAME}.bin -Binary -offset 0x0C000000 -o ${OUTPUT_IMAGE_PATH}/${OUTPUT_NAME}.hex -Intel

View File

@ -38,7 +38,7 @@ endif
$(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := 4.8
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.8
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 9.0
else
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := $(TARGET_GCC_VERSION_EXP)
endif

View File

@ -457,9 +457,9 @@ endif
# Is the host JDK 64-bit version?
HOST_JDK_IS_64BIT_VERSION :=
ifneq ($(filter 64-Bit, $(shell java -version 2>&1)),)
HOST_JDK_IS_64BIT_VERSION := true
endif
#ifneq ($(filter 64-Bit, $(shell java -version 2>&1)),)
#HOST_JDK_IS_64BIT_VERSION := true
#endif
# It's called md5 on Mac OS and md5sum on Linux
ifeq ($(HOST_OS),darwin)

View File

@ -157,7 +157,7 @@ function setpaths()
case $ARCH in
arm)
# Legacy toolchain configuration used for ARM kernel compilation
toolchaindir=arm/arm-eabi-$targetgccversion/bin
toolchaindir=arm/arm-none-eabi-$targetgccversion/bin
if [ -d "$gccprebuiltdir/$toolchaindir" ]; then
export ARM_EABI_TOOLCHAIN="$gccprebuiltdir/$toolchaindir"
ANDROID_KERNEL_TOOLCHAIN_PATH="$ARM_EABI_TOOLCHAIN":

View File

@ -1 +0,0 @@
/opt/toolchains/gcc-arm-none-eabi/

View File

@ -0,0 +1 @@
/opt/toolchains/gcc-arm-none-eabi-9-2020-q2-update