@@ -38,16 +38,4 @@ do_install_ptest() {
install ${B}/examplesh ${D}${PTEST_PATH}
}
-# Move zlib shared libraries for target builds to $base_libdir so the library
-# can be used in early boot before $prefix is mounted.
-do_install:append:class-target() {
- if [ ${base_libdir} != ${libdir} ]
- then
- mkdir -p ${D}/${base_libdir}
- mv ${D}/${libdir}/libz.so.* ${D}/${base_libdir}
- libname=`readlink ${D}/${libdir}/libz.so`
- ln -sf ${@oe.path.relative("${libdir}", "${base_libdir}")}/$libname ${D}${libdir}/libz.so
- fi
-}
-
BBCLASSEXTEND = "native nativesdk"
Historically there's been a split between /lib for early boot and /usr/lib for everything else, but with modern systems this split is meaningless and incomplete. If a minimal system for early boot is needed, it should be a full minimal system in a initramfs. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-core/zlib/zlib_1.2.12.bb | 12 ------------ 1 file changed, 12 deletions(-)