| .. | .. | 
|---|
| 13 | 13 | ########################################### User can modify ############################################# | 
|---|
| 14 | 14 | RKBIN_TOOLS=../rkbin/tools | 
|---|
| 15 | 15 | CROSS_COMPILE_ARM32=../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- | 
|---|
| 16 |  | -CROSS_COMPILE_ARM64=../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- | 
|---|
|  | 16 | +CROSS_COMPILE_ARM64=../prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- | 
|---|
| 17 | 17 | ########################################### User not touch ############################################# | 
|---|
| 18 | 18 | # Declare global INI file searching index name for every chip, update in select_chip_info() | 
|---|
| 19 | 19 | RKCHIP= | 
|---|
| .. | .. | 
|---|
| 48 | 48 | SCRIPT_UBOOT="${SRCTREE}/scripts/uboot.sh" | 
|---|
| 49 | 49 | SCRIPT_LOADER="${SRCTREE}/scripts/loader.sh" | 
|---|
| 50 | 50 | SCRIPT_DECOMP="${SRCTREE}/scripts/decomp.sh" | 
|---|
|  | 51 | +SCRIPT_CHECKCONFIG="${SRCTREE}/scripts/check-rkconfig.sh" | 
|---|
| 51 | 52 | CC_FILE=".cc" | 
|---|
| 52 | 53 | REP_DIR="./rep" | 
|---|
| 53 | 54 | ######################################################################################################### | 
|---|
| .. | .. | 
|---|
| 268 | 269 | CROSS_COMPILE_ARM64=`cat ${CC_FILE}` | 
|---|
| 269 | 270 | else | 
|---|
| 270 | 271 | if grep -q '^CONFIG_ARM64=y' .config ; then | 
|---|
| 271 |  | -				CROSS_COMPILE_ARM64=$(cd `dirname ${CROSS_COMPILE_ARM64}`; pwd)"/aarch64-linux-gnu-" | 
|---|
|  | 272 | +				CROSS_COMPILE_ARM64=$(cd `dirname ${CROSS_COMPILE_ARM64}`; pwd)"/aarch64-none-linux-gnu-" | 
|---|
| 272 | 273 | else | 
|---|
| 273 | 274 | CROSS_COMPILE_ARM32=$(cd `dirname ${CROSS_COMPILE_ARM32}`; pwd)"/arm-linux-gnueabihf-" | 
|---|
| 274 | 275 | fi | 
|---|
| .. | .. | 
|---|
| 768 | 769 |  | 
|---|
| 769 | 770 | function finish() | 
|---|
| 770 | 771 | { | 
|---|
|  | 772 | +	# check special config | 
|---|
|  | 773 | +	${SCRIPT_CHECKCONFIG} | 
|---|
|  | 774 | + | 
|---|
| 771 | 775 | echo | 
|---|
| 772 | 776 | if [ "${ARG_BOARD}" == "" ]; then | 
|---|
| 773 | 777 | echo "Platform ${RKCHIP_LABEL} is build OK, with exist .config" | 
|---|