1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-07-16 03:47:19 +00:00
Files
meta-arm/meta-gem5/recipes-devtools/gem5/gem5-aarch64-bootloader.inc
Ross Burton 6147e82375 meta-gem5: extract the gem5 recipe and machine into a dedicate meta-gem5 layer
meta-arm-bsp no longer has to depend on meta-oe, and in the future
meta-gem5 could be moved out of meta-arm.

Change-Id: I49fa8f793b60af8c0cdb7e04b27fb53fc094cdad
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-06-29 08:46:17 -04:00

31 lines
619 B
PHP

# Build instructions for gem5 custom bootloader
SUMMARY = "Gem5 AARCH64 boot loader"
LICENSE = "BSD"
inherit deploy
PROVIDES += "virtual/gem5-bootloader"
COMPATIBLE_MACHINE = "gem5-arm64"
BOOTLOADER_SRC_PATH ?= "${S}/system/arm/bootloader/arm64"
# no configure step
do_configure[noexec] = "1"
# no install
do_install[noexec] = "1"
do_compile() {
oe_runmake -C ${BOOTLOADER_SRC_PATH} all CROSS_COMPILE=${TARGET_PREFIX}
}
do_deploy() {
oe_runmake -C ${BOOTLOADER_SRC_PATH} install \
CROSS_COMPILE=${TARGET_PREFIX} DESTDIR=${DEPLOYDIR}/binaries
}
addtask deploy before do_build after do_compile