diff options
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.inc | 33 |
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 | ||
| 2 | SOC_DIR = "versal" | ||
| 3 | SOC_DIR:versal-net = "versal_net" | ||
| 4 | B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}" | ||
| 5 | |||
| 6 | BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp" | ||
| 7 | |||
| 8 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 9 | |||
| 10 | SRC_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 | |||
| 16 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
| 17 | |||
| 18 | # Override default since we're in a subdirectory deeper now... | ||
| 19 | do_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 | |||
| 29 | do_compile() { | ||
| 30 | oe_runmake | ||
| 31 | |||
| 32 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
| 33 | } | ||
