kraj / meta-altera

Old Altera BSP layer for OpenEmbedded/Yocto Project ( please use https://github.com/altera-opensource/meta-intel-fpga-refdes)
MIT License
47 stars 58 forks source link

Cyclone V: U-boot build failed with UBOOT_CONFIG set to cyclone5-socdk #204

Closed rebeccasf closed 4 years ago

rebeccasf commented 4 years ago

Anyone seen issue with u-boot-socfpga build with UBOOT_CONFIG set to cyclone5-socdk? I can't find where does this '-mtune' being set to 'generic-armv7-a'.

| cc1: error: unknown value 'generic-armv7-a' for '-mtune' [15/1949] | cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1 phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a75.cortex-a55 cortex-a76.cortex -a55 generic | /build/yocto-dev/uboot-build/tmp/work/agilex-poky-linux/u-boot-socfpga/1_v2020.04+gitAUTOINC+cb8e493299-r0/git/./Kbuild:43: recipe for target 'lib/asm-o ffsets.s' failed | make[2]: [lib/asm-offsets.s] Error 1 | make[2]: Waiting for unfinished jobs.... | cc1: error: unknown value 'generic-armv7-a' for '-mtune' | cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1 phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a75.cortex-a55 cortex-a76.cortex -a55 generic | /build/yocto-dev/uboot-build/tmp/work/agilex-poky-linux/u-boot-socfpga/1_v2020.04+gitAUTOINC+cb8e493299-r0/git/./Kbuild:64: recipe for target 'arch/arm/ lib/asm-offsets.s' failed | make[2]: *** [arch/arm/lib/asm-offsets.s] Error 1 | /build/yocto-dev/uboot-build/tmp/work/agilex-poky-linux/u-boot-socfpga/1_v2020.04+gitAUTOINC+cb8e493299-r0/git/Makefile:1780: recipe for target 'prepare 0' failed

rebeccasf commented 4 years ago

My bad for not checking the MACHINE being set. I will close the issue now.