summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-03-30 14:48:55 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-09-27 21:32:51 -0700
commit86b18ccdead121b0d03a7145ddb81cb116182abe (patch)
treec61e56baad53ee6297cf5892a96d239c3f0ccc43
parent6b445bcbf5d962f7363bd8a9cf3ab00de7845e72 (diff)
downloadmeta-xilinx-86b18ccdead121b0d03a7145ddb81cb116182abe.tar.gz
device-tree-lops: Fix concurrency issue w/ lopper temp file
Lopper will use the location of the input device tree for temporary files, unless -O is passed. With multiconfig it was possible for multiple passes on the same files, causing a collision if they all processed at the same time. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb b/meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb
index 2287218b..4b4d8eb5 100644
--- a/meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb
+++ b/meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb
@@ -19,31 +19,31 @@ LOPS_DIR = "${RECIPE_SYSROOT_NATIVE}/usr/share/lopper/lops"
19 19
20# All microblaze 20# All microblaze
21do_compile_microblaze_xilinx-standalone() { 21do_compile_microblaze_xilinx-standalone() {
22 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f ${SYSTEM_DTFILE} ${B}/${DTS_FILE} 22 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f -O ${WORKDIR} ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
23} 23}
24 24
25# All Cortex R5 25# All Cortex R5
26do_compile_append_armrm_xilinx-standalone() { 26do_compile_append_armrm_xilinx-standalone() {
27 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-r5-imux.dts ${SYSTEM_DTFILE} ${B}/${DTS_FILE} 27 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-r5-imux.dts -O ${WORKDIR} ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
28} 28}
29 29
30# Only ZynqMP & Cortex A53 (baremetal) 30# Only ZynqMP & Cortex A53 (baremetal)
31do_compile_append_zynqmp_aarch64_xilinx-standalone() { 31do_compile_append_zynqmp_aarch64_xilinx-standalone() {
32 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a53-imux.dts ${SYSTEM_DTFILE} ${B}/${DTS_FILE} 32 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a53-imux.dts -O ${WORKDIR} ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
33} 33}
34 34
35# Only ZynqMP & Cortex A53 (Linux) 35# Only ZynqMP & Cortex A53 (Linux)
36do_compile_append_zynqmp_aarch64_linux() { 36do_compile_append_zynqmp_aarch64_linux() {
37 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a53-imux.dts -i ${LOPS_DIR}/lop-domain-linux-a53.dts ${SYSTEM_DTFILE} ${B}/${DTB_FILE} 37 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a53-imux.dts -i ${LOPS_DIR}/lop-domain-linux-a53.dts -O ${WORKDIR} ${SYSTEM_DTFILE} ${B}/${DTB_FILE}
38} 38}
39 39
40# Only Versal and Cortex A72 (baremetal) 40# Only Versal and Cortex A72 (baremetal)
41do_compile_append_versal_aarch64_xilinx-standalone() { 41do_compile_append_versal_aarch64_xilinx-standalone() {
42 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a72-imux.dts ${SYSTEM_DTFILE} ${B}/${DTS_FILE} 42 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a72-imux.dts -O ${WORKDIR} ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
43} 43}
44 44
45do_compile_append_versal_aarch64_linux() { 45do_compile_append_versal_aarch64_linux() {
46 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a72-imux.dts -i ${LOPS_DIR}/lop-domain-a72.dts ${SYSTEM_DTFILE} ${B}/${DTB_FILE} 46 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a72-imux.dts -i ${LOPS_DIR}/lop-domain-a72.dts -O ${WORKDIR} ${SYSTEM_DTFILE} ${B}/${DTB_FILE}
47} 47}
48 48
49do_install() { 49do_install() {