1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-07-27 19:37:04 +00:00
Files
Adrian Herrera 460210f4a8 gem5/gem5-m5term-native: initial recipe
m5term enables users to connect to the simulated console. Useful in
development environments.

Change-Id: I6096be9fbf44da280272656f3e15d1ba19593e50
Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-02-04 14:16:47 -05:00

25 lines
602 B
BlitzBasic

require gem5-source_20.inc
SUMMARY = "m5term allows users to connect to gem5's simulated console"
HOMEPAGE = "https://www.gem5.org/documentation/general_docs/fullsystem/m5term"
LICENSE = "BSD"
inherit native
M5TERM_DIR = "util/term"
SRC_URI += "file://0001-add-makefile-flags.patch"
do_compile() {
oe_runmake -C ${S}/${M5TERM_DIR}
}
# The Makefile for m5term does not provide a "install" target
# We do the install process within the recipe
do_install() {
install -d ${D}${bindir}
install -m 755 ${B}/${M5TERM_DIR}/m5term ${D}${bindir}
}
addtask addto_recipe_sysroot before do_build