mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
zlib: do out-of-tree builds
zlib supports out-of-tree builds, so do them. (From OE-Core rev: e8bf682e9ccf2ddce5149f01ba788ca813329221) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8965c3a1a6
commit
607c8f5809
@@ -30,9 +30,12 @@ RDEPENDS:${PN}-ptest += "make"
|
||||
|
||||
inherit ptest
|
||||
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
do_configure() {
|
||||
LDCONFIG=true ./configure --prefix=${prefix} --shared --libdir=${libdir} --uname=GNU
|
||||
LDCONFIG=true ${S}/configure --prefix=${prefix} --shared --libdir=${libdir} --uname=GNU
|
||||
}
|
||||
do_configure[cleandirs] += "${B}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake shared
|
||||
|
||||
Reference in New Issue
Block a user