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:

Openwrt compile issue

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"

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2021-08-22
  • 2021-12-05
  • 2021-11-22
  • 2022-02-21
  • 2021-06-10
猜你喜欢
  • 2022-12-23
  • 2021-08-30
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案