diff options
author | Mark Hatle <mhatle@xilinx.com> | 2022-06-08 17:49:49 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@kernel.crashing.org> | 2022-07-23 15:59:49 -0500 |
commit | 90ffe6ed934d4e50f54a6857cf32b272d02f30d5 (patch) | |
tree | e494b0c969cc0fab58ff7c999606ebea1fb9d4f2 /meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb | |
parent | 11ed88c005173e357f6fc0eed520069de5b474e8 (diff) | |
download | meta-xilinx-90ffe6ed934d4e50f54a6857cf32b272d02f30d5.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>
(cherry picked from commit 7c5519b8b1dc782fd0fa50ac426094f9225de80a)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb')
-rw-r--r-- | meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb index 99771f38..8ffb01cb 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb | |||
@@ -7,11 +7,13 @@ DEPENDS += "libxil xiltimer" | |||
7 | inherit python3native | 7 | inherit python3native |
8 | 8 | ||
9 | do_configure:prepend() { | 9 | do_configure:prepend() { |
10 | ( | ||
10 | cd ${S} | 11 | cd ${S} |
11 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 13 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
14 | install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/ | 15 | install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/ |
16 | ) | ||
15 | } | 17 | } |
16 | 18 | ||
17 | CUSTOM_APP_IMAGE_NAME ??= "custom-application" | 19 | CUSTOM_APP_IMAGE_NAME ??= "custom-application" |