blob: f9a7f1f7c2168a9c3ff7f8be2997f22f11b5ba55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
DESCRIPTION = "FS-BOOT generator"
PROVIDES = "virtual/fsboot"
inherit xsctfsboot xsctyaml deploy
MB_BAREMETAL_TOOLCHAIN_PATH_ADD = "${XILINX_SDK_TOOLCHAIN}/gnu/microblaze/lin/bin:"
PATH =. "${MB_BAREMETAL_TOOLCHAIN_PATH_ADD}"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:microblaze = "microblaze"
XSCTH_APP = "mba_fs_boot"
XSCTH_MISC = " -hdf_type ${HDF_EXT}"
PARALLEL_MAKE = ""
EXTRA_OEMAKE_BSP = ""
EXTRA_OEMAKE_APP = ""
do_compile() {
oe_runmake -C ${XSCTH_WS}/${XSCTH_PROJ}/${XSCTH_APP}_bsp ${EXTRA_OEMAKE_BSP} -j 1 && \
oe_runmake -C ${XSCTH_WS}/${XSCTH_PROJ} ${EXTRA_OEMAKE_APP} -j 1
}
do_deploy:append() {
ln -sf ${PN}-${MACHINE}.elf ${DEPLOYDIR}/fsboot-${MACHINE}.elf
}
|