CPU_TYPE "xxx" doesn't correspond to a known type
Philip Prindeville
philipp_subx at redfish-solutions.com
Thu Dec 16 14:23:21 PST 2021
Yeah, it's intentional. It was meant to be a sentinel for bitrot.
If you look at the line following the changes:
DEFAULT_CFLAGS=$(strip $(CPU_CFLAGS) $(CPU_CFLAGS_$(CPU_TYPE)) $(CPU_CFLAGS_$(CPU_SUBTYPE)))
You don't want to have an empty expansion of CPU_CLFAGS_* as these are usually important platform-specific values that cause the correct instruction set to be emitted for the particulars of the CPU type.
See the preceding lines for -march and -mcpu values per platform.
-Philip
> On Dec 16, 2021, at 4:57 AM, Florian Eckert <fe at dev.tdt.de> wrote:
>
> Hello,
>
> If I execute the following command in the openwrt project:
> ./scripts/dump-target-info.pl targets
>
> I get the this output! I don't know if this is a mistake or if it is intentional.
> The warning was added by this commit
> https://gitlab.dev.tdt.de/dev/sys6/upstream/openwrt/-/commit/d3bc11857af788e185e8a3ece26ce40757cf3965
>
>
> Output:
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a15" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a5" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "arm926ej-s" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "arm1176jzf-s" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a72" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a9" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "fa526" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a9" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a15" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "xscale" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a9" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a72" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "arm926ej-s" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a8" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "arm926ej-s" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "mpcore" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a8" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a7" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a9" doesn't correspond to a known type
> /home/feckert/openwrt/include/target.mk:256: CPU_TYPE "cortex-a9" doesn't correspond to a known type
>
> apm821xx/nand powerpc_464fp
> apm821xx/sata powerpc_464fp
> arc770/generic arc_arc700
> archs38/generic arc_archs
> armvirt/32 arm_cortex-a15_neon-vfpv4
> armvirt/64 aarch64_cortex-a53
> at91/sam9x arm_arm926ej-s
> at91/sama5 arm_cortex-a5_vfpv4
> ath25/generic mips_mips32
> ath79/generic mips_24kc
> ath79/mikrotik mips_24kc
> ath79/nand mips_24kc
> ath79/tiny mips_24kc
> bcm27xx/bcm2708 arm_arm1176jzf-s_vfp
> bcm27xx/bcm2709 arm_cortex-a7_neon-vfpv4
> bcm27xx/bcm2710 aarch64_cortex-a53
> bcm27xx/bcm2711 aarch64_cortex-a72
> bcm47xx/generic mipsel_mips32
> bcm47xx/legacy mipsel_mips32
> bcm47xx/mips74k mipsel_74kc
> bcm4908/generic aarch64_cortex-a53
> bcm53xx/generic arm_cortex-a9
> bcm63xx/generic mips_mips32
> bcm63xx/smp mips_mips32
> gemini/generic arm_fa526
> imx/cortexa7 arm_cortex-a7_neon-vfpv4
> imx/cortexa9 arm_cortex-a9_neon
> ipq40xx/generic arm_cortex-a7_neon-vfpv4
> ipq40xx/mikrotik arm_cortex-a7_neon-vfpv4
> ipq806x/generic arm_cortex-a15_neon-vfpv4
> kirkwood/generic arm_xscale
> lantiq/ase mips_mips32
> lantiq/xrx200 mips_24kc
> lantiq/xway mips_24kc
> lantiq/xway_legacy mips_24kc
> layerscape/armv7 arm_cortex-a7_neon-vfpv4
> layerscape/armv8_64b aarch64_generic
> malta/be mips_24kc
> mediatek/mt7622 aarch64_cortex-a53
> mediatek/mt7623 arm_cortex-a7_neon-vfpv4
> mediatek/mt7629 arm_cortex-a7
> mpc85xx/p1010 powerpc_8540
> mpc85xx/p1020 powerpc_8540
> mpc85xx/p2020 powerpc_8540
> mvebu/cortexa53 aarch64_cortex-a53
> mvebu/cortexa72 aarch64_cortex-a72
> mvebu/cortexa9 arm_cortex-a9_vfpv3-d16
> mxs/generic arm_arm926ej-s
> octeon/generic mips64_octeonplus
> octeontx/generic aarch64_generic
> omap/generic arm_cortex-a8_vfpv3
> oxnas/ox820 arm_mpcore
> pistachio/generic mipsel_24kc_24kf
> ramips/mt7620 mipsel_24kc
> ramips/mt7621 mipsel_24kc
> ramips/mt76x8 mipsel_24kc
> ramips/rt288x mipsel_24kc
> ramips/rt305x mipsel_24kc
> ramips/rt3883 mipsel_74kc
> realtek/generic mips_4kec
> rockchip/armv8 aarch64_generic
> sunxi/cortexa53 aarch64_cortex-a53
> sunxi/cortexa7 arm_cortex-a7_neon-vfpv4
> sunxi/cortexa8 arm_cortex-a8_vfpv3
> tegra/generic arm_cortex-a9_vfpv3-d16
> x86/64 x86_64
> x86/generic i386_pentium4
> x86/geode i386_pentium-mmx
> x86/legacy i386_pentium-mmx
> zynq/generic arm_cortex-a9_neon
More information about the openwrt-devel
mailing list