blob: 4c479f5d3fc8d69b8e5877da25eeb6c984ba320e (
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
28
|
# Build instructions for gem5 custom bootloader
SUMMARY = "Gem5 AARCH64 boot loader"
LICENSE = "BSD"
inherit deploy
PROVIDES = "virtual/gem5-bootloader"
COMPATIBLE_MACHINE = "gem5-arm64"
# no configure step
do_configure[noexec] = "1"
# no install
do_install[noexec] = "1"
do_compile() {
oe_runmake -C system/arm/aarch64_bootloader all CROSS_COMPILE=${TARGET_PREFIX}
}
do_deploy() {
oe_runmake -C system/arm/aarch64_bootloader install \
CROSS_COMPILE=${TARGET_PREFIX} DESTDIR=${DEPLOYDIR}/binaries
}
addtask deploy before do_build after do_compile
|