blob: 3b171f70cbc6623385750ce4276b958ef0429850 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Separate build directories for versal and versal-net
SOC_DIR = "versal"
SOC_DIR:versal-net = "versal_net"
B = "${S}/lib/sw_apps/versal_plm/src/${SOC_DIR}"
BSP_DIR ?= "${B}/../../misc/versal_plm_bsp"
EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects"
do_configure() {
# manually do the copy_bsp step first, so as to be able to fix up use of
# mb-* commands
${B}/../../misc/${SOC_DIR}/copy_bsp.sh
}
do_compile() {
oe_runmake
${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin
}
|