bzip2: improve the packaging
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 May 2013 13:00:59 +0000 (13:00 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 28 May 2013 18:57:00 +0000 (20:57 +0200)
commit28cae90247bb2ce164eda37cd5cef41dd9e80108
tree1fd514924b74cc7bf74fec6cb9c1d126d9f64785
parentadaff0dfeac2964c8cc15d9d9b900d7f69abc23c
bzip2: improve the packaging

Instead of doing some nasty SED tricks, use a patch that modifies the
bzip2 build system to make it a little bit nicer. Those SEDs were made
differently for the host and target packages, which is contrary to the
logic of not having any difference in the source tree between the host
build and the target build.

This commit also makes sure that bzip2.mk behaves properly in a
BR2_PREFER_STATIC_LIB=y context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/bzip2/bzip2-improve-build-system.patch [new file with mode: 0644]
package/bzip2/bzip2.mk