[poky] Macro defined in .bb file: How use/add toolchain or target system macro in .bb file?

Khem Raj raj.khem at gmail.com
Wed Feb 21 20:20:55 PST 2018



On 2/20/18 10:47 PM, Jaymin D wrote:
> I want to use/add my target system "aarch64-oe-linux" into .bb file, so 
> can assign or can use the target system name dynamically in .bb file.
> 
> E.g.:
> Currently in .bb file its as below:
> 
> ./aconfigure --host=aarch64-oe-linux
> 
> Requirement is as below:
> 
> ./aconfigure --host=${macro_defined_for_target_sys}
> 
> Below is the output of my build configuration:
> 
> BB_VERSION        = "1.28.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "LinuxMint-18.3"
> *TARGET_SYS        = "aarch64-oe-linux"*
> 
> What is the macro defined for "TARGET_SYS"?
> 

you really want HOST_SYS which denotes the host on which the binary is 
supposed to run after compiling something like

./aconfigure --host=${HOST_SYS}

> 
> -- 
> Regards
> - JAYMIN DABHI
> 
> 


More information about the poky mailing list