You've already forked meta-qcom-extras
mirror of
https://github.com/linux-msm/meta-qcom-extras.git
synced 2026-02-25 13:14:43 -08:00
linux-qcom-bootimg: set LD_LIBRARY_PATH as required by dtbtool
Since the last upgrade of skales recipes, it now loads libfdt.so directly (from python using ctypes), so we need to set LD_LIBRARY_PATH so that it will find the library in the relevant sysroot. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
This commit is contained in:
@@ -12,6 +12,7 @@ do_deploy_append() {
|
||||
|
||||
mkbootimg_dtarg=""
|
||||
if [ "${QCOM_BOOTIMG_BUNDLE_DT}" = "1" ]; then
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${STAGING_LIBDIR_NATIVE}"
|
||||
dtbTool -o ${DEPLOYDIR}/${DT_IMAGE_BASE_NAME}.img -s ${QCOM_BOOTIMG_PAGE_SIZE} ${B}/arch/${ARCH}/boot/dts/qcom/
|
||||
mkbootimg_dtarg="--dt ${DEPLOYDIR}/${DT_IMAGE_BASE_NAME}.img"
|
||||
ln -sf ${DT_IMAGE_BASE_NAME}.img ${DEPLOYDIR}/${DT_IMAGE_SYMLINK_NAME}.img
|
||||
|
||||
Reference in New Issue
Block a user