-# $OpenBSD: Makefile,v 1.20 2020/05/18 06:20:43 otto Exp $
+# $OpenBSD: Makefile,v 1.21 2021/02/15 07:06:03 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 67584
MRFSDISKTYPE= rdroot
MRMAKEFSARGS= -o disklabel=${MRFSDISKTYPE},minfree=0,density=4096
-DIRS=\
- pine64 \
- rpi
-
PIFILES=\
bootcode.bin \
start.elf \
mr.fs: instbin
rm -rf $@.d
install -d -o root -g wheel $@.d
-.for DIR in ${DIRS}
- mkdir -p $@.d/usr/mdec/${DIR}
-.endfor
mtree -def ${MTREE} -p $@.d -u
CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} OSrev=${OSrev} \
TARGDIR=$@.d UTILS=${UTILS} RELEASEDIR=${RELEASEDIR} \
-# $OpenBSD: list,v 1.12 2019/11/17 06:03:39 jsg Exp $
+# $OpenBSD: list,v 1.13 2021/02/15 07:06:03 semarie Exp $
SRCDIRS distrib/special
COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-ext etc/firmware/atu-rfmd2958smc-ext
COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-int etc/firmware/atu-rfmd2958smc-int
+MKDIR usr/mdec/rpi
COPY /usr/local/share/raspberrypi-firmware/boot/bcm2710-rpi-3-b.dtb usr/mdec/rpi/bcm2710-rpi-3-b.dtb
COPY /usr/local/share/raspberrypi-firmware/boot/bcm2710-rpi-3-b-plus.dtb usr/mdec/rpi/bcm2710-rpi-3-b-plus.dtb
COPY /usr/local/share/raspberrypi-firmware/boot/bcm2710-rpi-cm3.dtb usr/mdec/rpi/bcm2710-rpi-cm3.dtb
COPY /usr/local/share/raspberrypi-firmware/boot/overlays/disable-bt.dtbo usr/mdec/rpi/disable-bt.dtbo
COPY /usr/local/share/u-boot/rpi_3/u-boot.bin usr/mdec/rpi/u-boot.bin
+MKDIR usr/mdec/pine64
COPY /usr/local/share/u-boot/pine64_plus/u-boot-sunxi-with-spl.bin usr/mdec/pine64/u-boot-sunxi-with-spl.bin
# copy the MAKEDEV script and make some devices