1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

update layer to be compatible with rpi zero 64 bits

This commit is contained in:
Dany LE
2022-01-29 16:31:50 +01:00
parent 28c0bca1d6
commit 16b17aa535
7 changed files with 23 additions and 7 deletions

View File

@ -28,6 +28,9 @@ case "$1" in
reboot
fi
# display information
# disable wifi power save
/usr/sbin/iw wlan0 set power_save off
/sbin/ip a
;;
*)
N=/etc/init.d/$NAME

View File

@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
#FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
DEPENDS = "libsdl2 "
DEPENDS = "libsdl2 mesa freetype"
# pharo 9.0
# SRCREV = "${AUTOREV}"
@ -18,11 +18,15 @@ S="${WORKDIR}/git/platforms/unix/config"
B="${WORKDIR}/build"
inherit autotools
TARGET_CFLAGS += " -D__ARM_ARCH_6__ -DDEBUGVM=0 "
TARGET_CFLAGS:raspberrypi += " -D__ARM_ARCH_6__ "
TARGET_CF_GLAGS += " -DDEBUGVM=0 "
EXTRA_OECONF:append=" --with-src=src/spur32.cog \
--with-sysroot=${STAGING_DIR_TARGET} \
EXTRA_OECONF:append=" --with-sysroot=${STAGING_DIR_TARGET} \
--without-npsqueak"
EXTRA_OECONF:raspberrypi:append = " --with-src=src/spur32.cog "
EXTRA_OECONF:raspberrypi0-2w-64:append = " --with-src=src/spur64.cog "
INSANE_SKIP += " configure-unsafe "
do_configure() {