diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend')
-rw-r--r-- | meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend new file mode 100644 index 00000000..96cd38cd --- /dev/null +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend @@ -0,0 +1,34 @@ +# We WANT to default to this version when available +DEFAULT_PREFERENCE = "100" + +# Reset this +SRC_URI = "${EMBEDDEDSW_SRCURI}" + +inherit esw + +ESW_COMPONENT_SRC = "/lib/sw_apps/versal_psmfw/src/" + +ESW_COMPONENT = "versal_psmfw.elf" + +do_configure:prepend() { + ( + cd ${S} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_configure() { + cmake_do_configure +} + +do_compile() { + cmake_do_compile + + ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin +} + +do_install() { + : +} + +DEPENDS += "xilstandalone libxil xiltimer" |