Re: [OE-core] [PATCH] multilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native

2019-12-18 Thread Mike Crowe via Openembedded-core
On Wednesday 18 December 2019 at 09:19:20 +0800, ChenQi wrote: > On 12/17/2019 09:55 PM, Mike Crowe wrote: > > On Tuesday 17 December 2019 at 16:56:11 +0800, ChenQi wrote: > > > On 12/17/2019 04:02 PM, Mike Crowe via Openembedded-core wrote: > > > > Ensure that

Re: [OE-core] [PATCH] multilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native

2019-12-17 Thread Mike Crowe via Openembedded-core
On Tuesday 17 December 2019 at 16:56:11 +0800, ChenQi wrote: > On 12/17/2019 04:02 PM, Mike Crowe via Openembedded-core wrote: > > Ensure that RECIPE_SYSROOT is the same for -native recipes whether > > multilib.conf is included or not. > > > > Without this change

[OE-core] [PATCH] multilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native

2019-12-17 Thread Mike Crowe via Openembedded-core
Ensure that RECIPE_SYSROOT is the same for -native recipes whether multilib.conf is included or not. Without this change task signatures for -native recipes change when switching between MACHINEs that require multilib.conf and those that don't. This fix was one of the ones suggested by Khem Raj i

Re: [OE-core] Use of multilib.conf taints hashes of -native recipes

2019-12-12 Thread Mike Crowe via Openembedded-core
On Thursday 12 December 2019 at 18:17:37 +, Richard Purdie wrote: > On Thu, 2019-12-12 at 16:05 +0000, Mike Crowe via Openembedded-core > wrote: > > We compile for a variety of machines, some of which require > > multilib.conf > > and some that do not. I was su

[OE-core] Use of multilib.conf taints hashes of -native recipes

2019-12-12 Thread Mike Crowe via Openembedded-core
We compile for a variety of machines, some of which require multilib.conf and some that do not. I was surprised to discover when switching between machines that the do_populate_sysroot_setscene tasks run for many -native recipe. :( It looks like this is because RECIPE_SYSROOT changes: Variable R

[OE-core] Using kernel device tree when compiling U-Boot

2019-11-25 Thread Mike Crowe via Openembedded-core
I'd like to use a single set of device tree sources for both the kernel and U-Boot. I'd like to take the dtb files generated when compiling the kernel and use it for U-Boot. This means that I need to able to find them from the U-Boot recipe - ideally without having a list of them there. So, I thou

[OE-core] [PATCH 2/2] kernel-devicetree: Cope with non-standard kernel deploy subdirectory

2019-10-21 Thread Mike Crowe via Openembedded-core
kernel.bbclass installs non-standard kernels (where KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}. To achieve this kernel_do_deploy sets the deployDir shell variable to ${DEPLOYDIR} for the standard kernel or ${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels. ke

[OE-core] [PATCH 1/2] kernel-fitimage: Cope with non-standard kernel deploy subdirectory

2019-10-21 Thread Mike Crowe via Openembedded-core
kernel.bbclass installs non-standard kernels (where KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}. To achieve this kernel_do_deploy sets the deployDir shell variable to ${DEPLOYDIR} for the standard kernel or ${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels. ke