mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 15:32:13 +02:00
recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -44,8 +44,8 @@ do_install () {
|
||||
install
|
||||
install -d ${D}${libdir}/pkgconfig
|
||||
|
||||
sed -e s/@VERSION@/${PV}/ -e s#@LIBDIR@#${libdir}# -e s#@INCLUDEDIR@#${includedir}# ${WORKDIR}/lua.pc.in > ${WORKDIR}/lua.pc
|
||||
install -m 0644 ${WORKDIR}/lua.pc ${D}${libdir}/pkgconfig/
|
||||
sed -e s/@VERSION@/${PV}/ -e s#@LIBDIR@#${libdir}# -e s#@INCLUDEDIR@#${includedir}# ${UNPACKDIR}/lua.pc.in > ${S}/lua.pc
|
||||
install -m 0644 ${S}/lua.pc ${D}${libdir}/pkgconfig/
|
||||
rmdir ${D}${datadir}/lua/5.4
|
||||
rmdir ${D}${datadir}/lua
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user