release/Makefile.vm: Use qemu-user-static-devel

This is a newer version of the qemu-user-static code, which is very
much out of date.

Requested by:	imp
This commit is contained in:
Colin Percival 2024-05-30 09:48:40 -07:00
parent f30188c468
commit a04ecddfc7

View file

@ -75,16 +75,16 @@ ${_V}!= eval $$(awk '/^${_V}=/{print}' ${.CURDIR}/../sys/conf/newvers.sh); echo
emulator-portinstall:
.if !exists(/usr/local/bin/qemu-${TARGET_ARCH}-static)
.if exists(${PORTSDIR}/emulators/qemu-user-static/Makefile)
.if exists(${PORTSDIR}/emulators/qemu-user-static-devel/Makefile)
env - UNAME_r=${UNAME_r} PATH=$$PATH \
make -C ${PORTSDIR}/emulators/qemu-user-static \
make -C ${PORTSDIR}/emulators/qemu-user-static-devel \
BATCH=1 WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles \
all install clean
.else
.if !exists(/usr/local/sbin/pkg-static)
env ASSUME_ALWAYS_YES=yes pkg bootstrap -y
.endif
env ASSUME_ALWAYS_YES=yes pkg install -y emulators/qemu-user-static
env ASSUME_ALWAYS_YES=yes pkg install -y emulators/qemu-user-static-devel
.endif
.endif
touch ${.TARGET}