[LEDE-DEV] -mcpu export

Dragan Stancevic ds at codeminutia.com
Sun May 13 08:14:58 PDT 2018


Morning,

trying to port a utility to openwrt and I would like to capture the
global make file -mcpu parameter export to use as a config variable.


I tried using "$(ARCH)" and "$(OPTIMIZE_FOR_CPU)" but that is only
producing "arm" and not a more specific sub type such as "cortex-a8"
that comes from the "-mcpu=cortex-a8" parameter.

Can anyone point me to the right export for capturing that?

Thank you in advance.



-- 
Home Based Linux SW-Engr Jobs @
http://codeminutia.com



More information about the Lede-dev mailing list