mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 03:47:19 +00:00
meta-arm: Convert to new override syntax
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -8,13 +8,13 @@ require gem5-aarch64-native.inc
|
||||
require gem5-native.inc
|
||||
|
||||
# Get rid of compiler errors when building protobuf
|
||||
GEM5_SCONS_ARGS_append = " CCFLAGS_EXTRA='-Wno-error=unused-variable' --verbose"
|
||||
GEM5_SCONS_ARGS:append = " CCFLAGS_EXTRA='-Wno-error=unused-variable' --verbose"
|
||||
|
||||
# Get rid of linker errors and have a faster link process
|
||||
GEM5_SCONS_ARGS_append = " LDFLAGS_EXTRA='${BUILD_LDFLAGS}' \
|
||||
GEM5_SCONS_ARGS:append = " LDFLAGS_EXTRA='${BUILD_LDFLAGS}' \
|
||||
MARSHAL_LDFLAGS_EXTRA='${BUILD_LDFLAGS}' --force-lto "
|
||||
|
||||
do_compile_prepend() {
|
||||
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})
|
||||
|
||||
@@ -45,8 +45,8 @@ do_install() {
|
||||
done
|
||||
}
|
||||
|
||||
FILES_${PN} = "${datadir}/gem5/* ${bindir}/*"
|
||||
INSANE_SKIP_${PN} += "already-stripped"
|
||||
RDEPENDS_${PN} += "python3-native hdf5-native protobuf-native libpng-native"
|
||||
FILES:${PN} = "${datadir}/gem5/* ${bindir}/*"
|
||||
INSANE_SKIP:${PN} += "already-stripped"
|
||||
RDEPENDS:${PN} += "python3-native hdf5-native protobuf-native libpng-native"
|
||||
|
||||
addtask addto_recipe_sysroot before do_build
|
||||
|
||||
Reference in New Issue
Block a user