summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/classes
diff options
context:
space:
mode:
authorMark Hatle <mhatle@xilinx.com>2022-06-08 17:49:49 -0700
committerMark Hatle <mhatle@xilinx.com>2022-06-13 08:30:05 -0700
commit7c5519b8b1dc782fd0fa50ac426094f9225de80a (patch)
treea607bdb6d9f7f1eb5ee599827fe933792c992867 /meta-xilinx-standalone-experimental/classes
parentd44ab8d60eda1ba361715ad7dc8976dccf072e86 (diff)
downloadmeta-xilinx-7c5519b8b1dc782fd0fa50ac426094f9225de80a.tar.gz
meta-xilinx-standalone-experimental: Wrap do_configure:prepend
The do_configure prepend steps need to run in the 'S' directory, so wrap the operations to prevent them from changing the working directory for the rest of the do_configure operations. Signed-off-by: Mark Hatle <mhatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes')
-rw-r--r--meta-xilinx-standalone-experimental/classes/esw_examples.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
index 0ebc38a0..508da535 100644
--- a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
+++ b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
@@ -3,10 +3,12 @@ inherit esw deploy python3native
3DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer" 3DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer"
4 4
5do_configure:prepend() { 5do_configure:prepend() {
6 (
6 cd ${S} 7 cd ${S}
7 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 8 lopper ${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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
9 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 10 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
11 )
10} 12}
11 13
12ESW_CUSTOM_LINKER_FILE ?= "None" 14ESW_CUSTOM_LINKER_FILE ?= "None"