blob: c4fd3a1d2c8863f25cc3df07c077668c534a3ca3 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# Build instructions for gem5 custom bootloader
2
3SUMMARY = "Gem5 AARCH64 boot loader"
4LICENSE = "BSD-3-Clause"
5
6inherit deploy
7
8PROVIDES += "virtual/gem5-bootloader"
9
10COMPATIBLE_MACHINE = "gem5-arm64"
11
12BOOTLOADER_SRC_PATH ?= "${S}/system/arm/bootloader/arm64"
13
14# no configure step
15do_configure[noexec] = "1"
16
17# no install
18do_install[noexec] = "1"
19
20do_compile() {
21 oe_runmake -C ${BOOTLOADER_SRC_PATH} all CROSS_COMPILE=${TARGET_PREFIX}
22}
23
24do_deploy() {
25 oe_runmake -C ${BOOTLOADER_SRC_PATH} install \
26 CROSS_COMPILE=${TARGET_PREFIX} DESTDIR=${DEPLOYDIR}/binaries
27}
28
29addtask deploy before do_build after do_compile
30