summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2019-08-04 21:03:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-06 11:24:27 +0100
commit88c6be81a5fbed098999fbef5576c5e0bb90cc21 (patch)
tree744bf421fe9d54e8dcbec27f43f4e92a592c957d /meta/recipes-bsp
parentd6138fe9506f270614670103043a9cbbfd6d84f8 (diff)
downloadpoky-88c6be81a5fbed098999fbef5576c5e0bb90cc21.tar.gz
opensbi: handle deploy task under sstate
Inherit deploy bbclass and install files to DEPLOYDIR rather than in DEPLOY_DIR_IMAGE. (From OE-Core rev: f03ab9b21c2aeeae0bd020ee94ec9bb1d903500d) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/opensbi/opensbi_0.4.bb11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-bsp/opensbi/opensbi_0.4.bb b/meta/recipes-bsp/opensbi/opensbi_0.4.bb
index 068ae762d4..382752895c 100644
--- a/meta/recipes-bsp/opensbi/opensbi_0.4.bb
+++ b/meta/recipes-bsp/opensbi/opensbi_0.4.bb
@@ -6,7 +6,7 @@ DEPENDS += "dtc-native"
6 6
7require opensbi-payloads.inc 7require opensbi-payloads.inc
8 8
9inherit autotools-brokensep 9inherit autotools-brokensep deploy
10 10
11SRCREV = "ce228ee0919deb9957192d723eecc8aaae2697c6" 11SRCREV = "ce228ee0919deb9957192d723eecc8aaae2697c6"
12SRC_URI = "git://github.com/riscv/opensbi.git \ 12SRC_URI = "git://github.com/riscv/opensbi.git \
@@ -35,13 +35,12 @@ do_install_append() {
35} 35}
36 36
37do_deploy () { 37do_deploy () {
38 install -d ${DEPLOY_DIR_IMAGE} 38 install -m 755 ${D}/platform/${RISCV_SBI_PLAT}/firmware/fw_payload.* ${DEPLOYDIR}/
39 install -m 755 ${D}/platform/${RISCV_SBI_PLAT}/firmware/fw_payload.* ${DEPLOY_DIR_IMAGE}/ 39 install -m 755 ${D}/platform/${RISCV_SBI_PLAT}/firmware/fw_jump.* ${DEPLOYDIR}/
40 install -m 755 ${D}/platform/${RISCV_SBI_PLAT}/firmware/fw_jump.* ${DEPLOY_DIR_IMAGE}/ 40 install -m 755 ${D}/platform/${RISCV_SBI_PLAT}/firmware/fw_dynamic.* ${DEPLOYDIR}/
41 install -m 755 ${D}/platform/${RISCV_SBI_PLAT}/firmware/fw_dynamic.* ${DEPLOY_DIR_IMAGE}/
42} 41}
43 42
44addtask deploy after do_install 43addtask deploy before do_build after do_install
45 44
46FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_jump.*" 45FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_jump.*"
47FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_payload.*" 46FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_payload.*"