summaryrefslogtreecommitdiffstats
path: root/bsp/meta-arm/meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_git.bb
blob: d36f24fe19029ab24a5a550ee95c3c65642f526c (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
# gem5 simulator source and checksum information

LIC_FILES_CHKSUM = "file://COPYING;md5=2d9514d69d8abf88b6e9125e759bf0ab \
                    file://LICENSE;md5=a585e2893cee63d16a1d8bc16c6297ec"

# The recipe is currently using a version in the release staging branch of gem5
# until version 20 is released
SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;branch=release-staging-v20.0.0.0"

PV = "git${SRCPV}"

S = "${WORKDIR}/git"

SRCREV = "0bc5d77ed27e0765953d93c2376a4b4aea675a01"

BPN = "gem5-aarch64-native"

require gem5-aarch64-native.inc
require gem5-native.inc

do_compile_prepend() {
    # Gem5 expect to have python in the path (can be python2 or 3)
    # Create a link named python to python3
    real=$(which ${PYTHON})
    ln -snf $real $(dirname $real)/python
}