]> code.ossystems Code Review - openembedded-core.git/commit
bzip2: Create Makefile for run-ptest
authorOoi Cinly <cinly.ooi@intel.com>
Thu, 14 Sep 2017 09:35:48 +0000 (17:35 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Sep 2017 08:23:59 +0000 (09:23 +0100)
commit752a8a02d52cf868d1c182672d6ceb3d455dfa1e
tree6f394dca707e8cc5003abaf8a5b39517c7fe445f
parent027f1782dfd85b47f34a4a9c8b62a22f57fece7e
bzip2: Create Makefile for run-ptest

To improve binary reproducibility, only the
relevent part of the Makefile in bzip2-ptest
package that run-ptest needs are copied to
the destination directory.

bzip2-ptest requires Makefile. The original
Makefile contains references to build host.
By copying only the relevent part,
we avoid those references making their way
into the target system

Used Makefile.am as the source to extract
the revelent part instead of Makefile as
it is easier to parse than Makefile.

A redundant command  in do_install_ptest()
that repeat the copying of Makefile that
was already copied by  Makefile's install-ptest
step is removed because it now interfers with
the creation of the new Makefile by
make's install-ptest.

[YOCTO #11596]

Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am
meta/recipes-extended/bzip2/bzip2_1.0.6.bb