blob: 97d2ba0a171260073017ca1e7bf71ade82ebd7db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
inherit esw python3native esw_apps_common
ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/"
DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer"
ESW_EXECUTABLE_NAME = "freertos_hello_world"
do_configure:prepend() {
(
cd ${S}
lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
)
}
FILES:${PN} = "${base_libdir}/firmware/freertos_hello_world*"
|