mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
lirc: fix do_install with multilib
* use ${S} instead of ${WORKDIR}/${PN}-${PV}
and ${BP} instead of ${PN}-${PV}
to fix build with multilib, where PN is lib32-lirc, but S is correctly set
as ${WORKDIR}/${BP} and do_install fails with:
mkdir: cannot create directory ‘lib32-lirc/0.10.1-r0/lib32-lirc-0.10.1/python-pkg/dist/’: No such file or directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9317d99070
commit
385ca58f98
|
|
@ -51,9 +51,9 @@ do_configure:append() {
|
|||
|
||||
# Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA
|
||||
do_install:prepend() {
|
||||
rm -rf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/
|
||||
mkdir ${WORKDIR}/${PN}-${PV}/python-pkg/dist/
|
||||
tar --exclude='${WORKDIR}/${PN}-${PV}/python-pkg/*' -czf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/${PN}-${PV}.tar.gz ${S}
|
||||
rm -rf ${S}/python-pkg/dist/
|
||||
mkdir ${S}/python-pkg/dist/
|
||||
tar --exclude='${S}/python-pkg/*' -czf ${S}/python-pkg/dist/${BP}.tar.gz ${S}
|
||||
}
|
||||
|
||||
# In code, path to python is a variable that is replaced with path to native version of it
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user