summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-sdt
diff options
context:
space:
mode:
authorRaju Kumar Pothuraju <rajukumar.pothuraju@amd.com>2024-08-13 18:52:19 +0530
committerMark Hatle <mark.hatle@amd.com>2024-08-16 09:54:55 -0500
commit5f8a43ddcb8b9ff27e38d311d14dc39202b45152 (patch)
tree60770d082e35dd144da8135de6d5e008d9dac84e /meta-xilinx-standalone-sdt
parent2011172fc388fb7e0af7f8f37175706a278070c1 (diff)
downloadmeta-xilinx-5f8a43ddcb8b9ff27e38d311d14dc39202b45152.tar.gz
openamp-fw.inc: Update OPENAMP_FW_DEPLOY_DIR
Using TOPDIR will fail when TMPDIR redirected to different location than the default one. Use TMPDIR instead of TOPDIR and add open-amp-xlnx directory suffix as per the recent open-amp recipe changes. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-sdt')
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc
index dd2835ab..f6c53414 100644
--- a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc
+++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc
@@ -17,13 +17,12 @@ FW_OS ?= "baremetal"
17 17
18FW_TARGET ?= "${MACHINE}-${FW_MACHINE}-${FW_OS}" 18FW_TARGET ?= "${MACHINE}-${FW_MACHINE}-${FW_OS}"
19 19
20OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy/images/${MACHINE}" 20OPENAMP_FW_DEPLOY_DIR ?= "-${FW_TARGET}/deploy/images/${MACHINE}/open-amp-xlnx"
21#OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy/"
22 21
23DEPENDS = " open-amp-xlnx " 22DEPENDS = " open-amp-xlnx "
24do_install[mcdepends] += "mc::${FW_TARGET}:open-amp-xlnx:do_deploy" 23do_install[mcdepends] += "mc::${FW_TARGET}:open-amp-xlnx:do_deploy"
25do_install() { 24do_install() {
26 src=${TOPDIR}/${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} 25 src=${TMPDIR}${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME}
27 dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME} 26 dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME}
28 if [ ! -e $src ]; then 27 if [ ! -e $src ]; then
29 bberror "Multiconfig firmware $src is not found. Set OPENAMP_FW_DEPLOY_DIR:pn-${PN} if necessary." 28 bberror "Multiconfig firmware $src is not found. Set OPENAMP_FW_DEPLOY_DIR:pn-${PN} if necessary."