diff options
Diffstat (limited to 'meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch')
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch new file mode 100644 index 00000000..425145d0 --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From e80324e3497e5768c9fdbde3c0660a03d0dcc3ee Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | ||
| 3 | Date: Mon, 8 Feb 2021 16:32:34 -0800 | ||
| 4 | Subject: [PATCH] Makefile:Use python3 instead of python | ||
| 5 | |||
| 6 | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | ||
| 7 | --- | ||
| 8 | Makefile | 12 ++++++------ | ||
| 9 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/Makefile b/Makefile | ||
| 12 | index a110483..fd8868c 100644 | ||
| 13 | --- a/Makefile | ||
| 14 | +++ b/Makefile | ||
| 15 | @@ -91,13 +91,13 @@ $(LQSPI_XIP_OUTDIR)/%.dts: %.dts $(DTSI_FILES) $(HEADER_FILES) | ||
| 16 | # TODO: Add support for auto-generated dependency list | ||
| 17 | versal-pmc-npi.dtsi: versal-pmc-npi-nxx.dtsi versal-h10-pmc-npi-nxx.dtsi | ||
| 18 | versal-pmc-npi-nxx.dtsi: Makefile | ||
| 19 | - @python -c 'for a in range(0, 54): print("\tGEN_NMU(" + str(a) + ")")' > $@ | ||
| 20 | - @python -c 'for a in range(0, 50): print("\tGEN_NSU(" + str(a) + ")")' >> $@ | ||
| 21 | - @python -c 'for a in range(0, 146): print("\tGEN_NPS(" + str(a) + ")")' >> $@ | ||
| 22 | + @python3 -c 'for a in range(0, 54): print("\tGEN_NMU(" + str(a) + ")")' > $@ | ||
| 23 | + @python3 -c 'for a in range(0, 50): print("\tGEN_NSU(" + str(a) + ")")' >> $@ | ||
| 24 | + @python3 -c 'for a in range(0, 146): print("\tGEN_NPS(" + str(a) + ")")' >> $@ | ||
| 25 | versal-h10-pmc-npi-nxx.dtsi: Makefile | ||
| 26 | - @python -c 'for a in range(0, 37): print("\tGEN_NMU(" + str(a) + ")")' > $@ | ||
| 27 | - @python -c 'for a in range(0, 33): print("\tGEN_NSU(" + str(a) + ")")' >> $@ | ||
| 28 | - @python -c 'for a in range(0, 135): print("\tGEN_NPS(" + str(a) + ")")' >> $@ | ||
| 29 | + @python3 -c 'for a in range(0, 37): print("\tGEN_NMU(" + str(a) + ")")' > $@ | ||
| 30 | + @python3 -c 'for a in range(0, 33): print("\tGEN_NSU(" + str(a) + ")")' >> $@ | ||
| 31 | + @python3 -c 'for a in range(0, 135): print("\tGEN_NPS(" + str(a) + ")")' >> $@ | ||
| 32 | |||
| 33 | clean: | ||
| 34 | $(RM) versal-pmc-npi-nxx.dtsi | ||
| 35 | -- | ||
| 36 | 2.7.4 | ||
| 37 | |||
