mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-04-20 11:29:54 +00:00
arm-bsp: Switch to gem5 20.0 staging version
Switch gem5 to use current HEAD version of the staging 20.0 branch to solve compilation issues related to the move to python3 Create a link named python to python3 as some of gem5 python scripts are looking for python and are compatible with both python2 and python3. Change-Id: I59256a8a6783a9614f5a2d5d760fada5bd6d0337 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
43f90f06ba
commit
c7bd7651c4
@@ -3,15 +3,15 @@
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d9514d69d8abf88b6e9125e759bf0ab \
|
||||
file://LICENSE;md5=a585e2893cee63d16a1d8bc16c6297ec"
|
||||
|
||||
# The recipe is currently using a version in the development branch of gem5
|
||||
# until version 20 with python3 support is released
|
||||
SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;branch=develop"
|
||||
# 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 = "3eab6ea51e4c2b97e7a68835dddacb989d7559c4"
|
||||
SRCREV = "0bc5d77ed27e0765953d93c2376a4b4aea675a01"
|
||||
|
||||
BPN = "gem5-aarch64-bootloader"
|
||||
|
||||
|
||||
@@ -3,18 +3,24 @@
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d9514d69d8abf88b6e9125e759bf0ab \
|
||||
file://LICENSE;md5=a585e2893cee63d16a1d8bc16c6297ec"
|
||||
|
||||
# The recipe is currently using a version in the development branch of gem5
|
||||
# until version 20 with python3 support is released
|
||||
SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;branch=develop"
|
||||
# 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 = "3eab6ea51e4c2b97e7a68835dddacb989d7559c4"
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user