diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes/esw_examples.bbclass')
-rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw_examples.bbclass | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass index 391f388e..9b116e9e 100644 --- a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass | |||
@@ -1,15 +1,18 @@ | |||
1 | inherit esw deploy python3native | 1 | inherit esw deploy python3native |
2 | 2 | ||
3 | DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer device-tree" | 3 | DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer" |
4 | 4 | ||
5 | do_configure_prepend() { | 5 | do_configure_prepend() { |
6 | cd ${S} | 6 | cd ${S} |
7 | nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} | 7 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
8 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | ||
9 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
8 | } | 10 | } |
9 | 11 | ||
10 | do_generate_eglist () { | 12 | do_generate_eglist () { |
11 | cd ${S} | 13 | cd ${S} |
12 | nativepython3 ${S}/scripts/example.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} | 14 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} drvcmake_metadata |
15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
13 | } | 16 | } |
14 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot | 17 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot |
15 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" |
@@ -20,7 +23,8 @@ do_install() { | |||
20 | } | 23 | } |
21 | 24 | ||
22 | do_deploy() { | 25 | do_deploy() { |
23 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/ | 26 | install -d ${DEPLOYDIR}/${MACHINE}-${BPN}/ |
27 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${MACHINE}-${BPN}/ | ||
24 | } | 28 | } |
25 | addtask deploy before do_build after do_package | 29 | addtask deploy before do_build after do_package |
26 | 30 | ||