aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-10-02 22:11:34 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-10-02 22:11:34 +0100
commit4e798cbbec08b31362afa3eab8fc103f9d26b970 (patch)
treea5eb9f8e1a66721c34fc882bb2bb7da8c77b7621
parenta8a3371aad922c35226e6e7c7b18a4c34205edc8 (diff)
downloadmeta-qcom-4e798cbbec08b31362afa3eab8fc103f9d26b970.tar.gz
meta-qcom-4e798cbbec08b31362afa3eab8fc103f9d26b970.tar.bz2
meta-qcom-4e798cbbec08b31362afa3eab8fc103f9d26b970.zip
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>
-rw-r--r--recipes-kernel/linux/linux-qcom-bootimg.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qcom-bootimg.inc b/recipes-kernel/linux/linux-qcom-bootimg.inc
index c3b7692..6c9b41f 100644
--- a/recipes-kernel/linux/linux-qcom-bootimg.inc
+++ b/recipes-kernel/linux/linux-qcom-bootimg.inc
@@ -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