openssl: correct bad path on package preprocess

In case of SDK generation, /usr/bin/ path are not correct
and must be replaced by ${bindir}.

(From OE-Core rev: 0fa7d99444763192914e798d8bc9dba1d9cdae42)

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christophe PRIOUZEAU
2018-11-22 12:13:11 +00:00
committed by Richard Purdie
parent f3cfd39ac6
commit 5d10ff7e0f

View File

@@ -353,8 +353,8 @@ openssl_package_preprocess () {
for file in `find ${PKGD} -name *.h -o -name *.pc -o -name *.so`; do
rm $file
done
rm ${PKGD}/usr/bin/openssl
rm ${PKGD}/usr/bin/c_rehash
rmdir ${PKGD}/usr/bin
rm ${PKGD}${bindir}/openssl
rm ${PKGD}${bindir}/c_rehash
rmdir ${PKGD}${bindir}
}