summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc')
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc
deleted file mode 100644
index 4c331510..00000000
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc
+++ /dev/null
@@ -1,33 +0,0 @@
1# Separate build directories for versal and versal-net
2SOC_DIR = "versal"
3SOC_DIR:versal-net = "versal_net"
4B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}"
5
6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp"
7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \
14 "
15
16EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra"
17
18# Override default since we're in a subdirectory deeper now...
19do_configure() {
20 # manually do the copy_bsp step first, so as to be able to fix up use of
21 # mb-* commands
22 if [ ${SOC_DIR} != "versal" ]; then
23 ${B}/../../misc/${SOC_DIR}/copy_bsp.sh
24 else
25 ${B}/../../misc/copy_bsp.sh
26 fi
27}
28
29do_compile() {
30 oe_runmake
31
32 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin
33}