diff options
-rw-r--r-- | meta/recipes-bsp/opensbi/opensbi_0.4.bb | 11 |
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 | ||
7 | require opensbi-payloads.inc | 7 | require opensbi-payloads.inc |
8 | 8 | ||
9 | inherit autotools-brokensep | 9 | inherit autotools-brokensep deploy |
10 | 10 | ||
11 | SRCREV = "ce228ee0919deb9957192d723eecc8aaae2697c6" | 11 | SRCREV = "ce228ee0919deb9957192d723eecc8aaae2697c6" |
12 | SRC_URI = "git://github.com/riscv/opensbi.git \ | 12 | SRC_URI = "git://github.com/riscv/opensbi.git \ |
@@ -35,13 +35,12 @@ do_install_append() { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | do_deploy () { | 37 | do_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 | ||
44 | addtask deploy after do_install | 43 | addtask deploy before do_build after do_install |
45 | 44 | ||
46 | FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_jump.*" | 45 | FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_jump.*" |
47 | FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_payload.*" | 46 | FILES_${PN} += "/platform/${RISCV_SBI_PLAT}/firmware/fw_payload.*" |