All of lore.kernel.org
 help / color / mirror / Atom feed
* Macro defined in .bb file: How use/add toolchain or target system macro in .bb file?
@ 2018-02-21  6:47 Jaymin D
  2018-02-22  4:20 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Jaymin D @ 2018-02-21  6:47 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

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"?


-- 
Regards
- JAYMIN DABHI

[-- Attachment #2: Type: text/html, Size: 1078 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Macro defined in .bb file: How use/add toolchain or target system macro in .bb file?
  2018-02-21  6:47 Macro defined in .bb file: How use/add toolchain or target system macro in .bb file? Jaymin D
@ 2018-02-22  4:20 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2018-02-22  4:20 UTC (permalink / raw)
  To: Jaymin D, poky



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
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-22  4:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-21  6:47 Macro defined in .bb file: How use/add toolchain or target system macro in .bb file? Jaymin D
2018-02-22  4:20 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.