[OE-core] [PATCH 00/15] Prepare for EXTRA_OEMAKE = "" in bitbake.conf

Mike Crowe mac at mcrowe.com
Mon Feb 8 14:04:00 UTC 2016


On Monday 08 February 2016 at 11:49:15 +0000, Burton, Ross wrote:
> On 5 February 2016 at 18:04, Mike Crowe <mac at mcrowe.com> wrote:
> 
> > This series (sent only to openembedded-core) fixes various recipes
> > that rely on the current default value of
> > EXTRA_OEMAKE = "-e MAKEFLAGS=" to explicitly set that value in the
> > hope that bitbake.conf can set EXTRA_OEMAKE = "" in the future.
> >
> 
> We need to also vet all instances of EXTRA_OEMAKE in recipes.  I did a
> build with the EXTRA_OEMAKE change in bitbake.conf and hdparm failed to
> pass QA because the binary was already stripped, as the recipe does
> EXTRA_OEMAKE += "STRIP=echo".  That assignment isn't getting through to the
> makefiles without -e.

It seems that such QA checks are warnings so I hadn't noticed them before.
I can see this one in a build that I'm currently doing. I'd better search
through my cooker logs looking for warnings.

But, as Olof says, I don't really see how changing the default value of
EXTRA_OEMAKE would have the effect you describe. (It could have the
opposite effect if submakes are involved; without "-e MAKEFLAGS=",
STRIP=echo will make it into submakes whereas previously it would not have
done.)

It seems possible that some other variable from the environment was
previously disabling strip. I'll investigate further.

Thanks for testing.

Mike.



More information about the Openembedded-core mailing list