How to get subtarget name on OpenWrt

I'm cross compiling a software for my openwrt, need specify a -mcpu parameter, but how can I get cortex model on openwrt? nothing in cat /proc/cpuinfo, aarch64_generic can assign to -mcpu?

Check the toh for the device in the wiki.

Also the command

lscpu

CONFIG_CPU_TYPE="cortex-a53" is available to key against usually.

but need opkg install lscpu

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.