Issue 1: gcc-8.4.0/config.gcc: 3871 [: missing `]'
code line 3871: if [ "$fpu" = "error"]
fix: add a space after "error";
Issue 2: --with-arch may not be used with switch --with-cpu
fix step 1: set parameter as follows:
fix step 2:
Modify .config manually and ignore the warning when make;
CONFIG_TARGET_ARCH_PACKAGES="arm_cortex-a9_neon"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe"
CONFIG_CPU_TYPE="cortex-a9+neon"
Change to:
#CONFIG_TARGET_ARCH_PACKAGES="arm_cortex-a9_neon"
#CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe"
CONFIG_CPU_TYPE="cortex-a7+neon"