* Customize SDKPATH
@ 2017-11-02 16:43 Jonathan Poulin
2017-11-06 6:00 ` Martin Hundebøll
2017-11-06 6:07 ` Martin Hundebøll
0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Poulin @ 2017-11-02 16:43 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
Hello,
As we build different images for the same machine, I would like to
customize the SDKPATH to include the image name. This way our application
developers can install the different sdk related to each image.
To do that I firstly create my custom distro conf where I set the SDKPATH
this way:
SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}/${IMAGE_BASENAME}"
But it doesn't work because the populate_sdk task depend on many other
packages that also use the SDKPATH variable. IMAGE_BASENAME is define as
${PN} so all other package install sdk files in a different folder. (the
value of PN is different for each package).
Is there a way to set IMAGE_BASENAME to the image name used in the command
"bitbake -c populate_sdk <image_name>" in a way that all package recipe see
it?
thanks
Jonathan
[-- Attachment #2: Type: text/html, Size: 911 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Customize SDKPATH
2017-11-02 16:43 Customize SDKPATH Jonathan Poulin
@ 2017-11-06 6:00 ` Martin Hundebøll
2017-11-06 6:07 ` Martin Hundebøll
1 sibling, 0 replies; 3+ messages in thread
From: Martin Hundebøll @ 2017-11-06 6:00 UTC (permalink / raw)
To: Jonathan Poulin, yocto
Hi Jonathan,
On 2017-11-02 17:43, Jonathan Poulin wrote:
> Is there a way to set IMAGE_BASENAME to the image name used in the
> command "bitbake -c populate_sdk <image_name>" in a way that all package
> recipe see it?
We use TOOLCHAIN_OUTPUTNAME, like this:
TOOLCHAIN_OUTPUTNAME =
"${PN}-${SDK_ARCH}-${SDK_OS}-${REAL_MULTIMACH_TARGET_SYS}"
--
MARTIN HUNDEBØLL, Prevas A/S
Software Developer
Hedeager 3, DK-8200 Aarhus N
Phone +45 87438070
Mobile +45 25562438
Martin.Hundeboll@prevas.dk
www.prevas.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Customize SDKPATH
2017-11-02 16:43 Customize SDKPATH Jonathan Poulin
2017-11-06 6:00 ` Martin Hundebøll
@ 2017-11-06 6:07 ` Martin Hundebøll
1 sibling, 0 replies; 3+ messages in thread
From: Martin Hundebøll @ 2017-11-06 6:07 UTC (permalink / raw)
To: Jonathan Poulin, yocto
Hi Jonathan,
On 2017-11-02 17:43, Jonathan Poulin wrote:
> Is there a way to set IMAGE_BASENAME to the image name used in the
> command "bitbake -c populate_sdk <image_name>" in a way that all package
> recipe see it?
We use TOOLCHAIN_OUTPUTNAME, like this:
TOOLCHAIN_OUTPUTNAME =
"${PN}-${SDK_ARCH}-${SDK_OS}-${REAL_MULTIMACH_TARGET_SYS}"
--
MARTIN HUNDEBØLL, Prevas A/S
Software Developer
Hedeager 3, DK-8200 Aarhus N
Phone +45 87438070
Mobile +45 25562438
Martin.Hundeboll@prevas.dk
www.prevas.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-06 6:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 16:43 Customize SDKPATH Jonathan Poulin
2017-11-06 6:00 ` Martin Hundebøll
2017-11-06 6:07 ` Martin Hundebøll
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.