diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2022-04-01 10:16:52 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-04-04 09:00:27 -0700 |
| commit | eb060e678f792000872dbf9b32fa9b5686f3a127 (patch) | |
| tree | b245cfdc89f7baa4229050b59367a8c77e63a27d | |
| parent | 5eda1310b02be7176d8306ed041ebe65a6194300 (diff) | |
| download | meta-xilinx-eb060e678f792000872dbf9b32fa9b5686f3a127.tar.gz | |
meta-xilinx-standalone-experimental: recipes-bsp: embeddedsw: fsbl-firmware: properly copy the psu_init* files
The files are copied into ${WORKDIR} and need to be made available to be
used by the sources.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| -rw-r--r-- | meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend index 056ad990..439f47f4 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend | |||
| @@ -33,6 +33,16 @@ python() { | |||
| 33 | bb.warn("Unable to find %s, using default version" % psu_init_h) | 33 | bb.warn("Unable to find %s, using default version" % psu_init_h) |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | do_compile:prepend() { | ||
| 37 | if [ -e ${WORKDIR}/psu_init.c ]; then | ||
| 38 | install -m 0644 ${WORKDIR}/psu_init.c ${S}/${ESW_COMPONENT_SRC} | ||
| 39 | fi | ||
| 40 | |||
| 41 | if [ -e ${WORKDIR}/psu_init.h ]; then | ||
| 42 | install -m 0644 ${WORKDIR}/psu_init.h ${S}/${ESW_COMPONENT_SRC} | ||
| 43 | fi | ||
| 44 | } | ||
| 45 | |||
| 36 | do_install() { | 46 | do_install() { |
| 37 | : | 47 | : |
| 38 | } | 48 | } |
