]> code.ossystems Code Review - openembedded-core.git/commit
allarch: Generate same package for MIPS and non-MIPS targets
authorMike Crowe <mac@mcrowe.com>
Thu, 24 Jul 2014 11:24:53 +0000 (12:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jul 2014 14:33:31 +0000 (15:33 +0100)
commit14f4d016fef9d660da1e7e91aec4a0e807de59ab
tree4793c607d9ed3fcfd9adaa88e0479726975d1439
parent71d5eb34678eafbcb0f8ff4c31d52a276949bb0c
allarch: Generate same package for MIPS and non-MIPS targets

LINKER_HASH_STYLE differs between MIPS and non-MIPS targets. This means
that LDFLAGS differs too. LDFLAGS is exported so it influences all task
hashes. Unfortunately this means that packages with architecture "all"
differ depending on whether they are built for a MIPS or non-MIPS target.
This causes a lot of unnecessary churn in the ipk/all directory when
switching build targets.

The simplest way to fix this is to ensure that LDFLAGS stays the same for
architecture "all" packages by clearing it. It shouldn't being used by such
packages anyway.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/allarch.bbclass