1 1.1 tsutsui # $NetBSD: Makefile,v 1.1 2020/03/21 14:25:49 tsutsui Exp $ 2 1.1 tsutsui 3 1.1 tsutsui LIVEIMGBASE= NetBSD-${DISTRIBVER}-${MACHINE}-live # gives ${IMGBASE}.img 4 1.1 tsutsui 5 1.1 tsutsui .include <bsd.own.mk> 6 1.1 tsutsui 7 1.1 tsutsui LIVEIMAGEMB?= 1920 # for 2GB SD due to Windows Mobile restriction 8 1.1 tsutsui SWAPMB?= 64 9 1.1 tsutsui FATMB?= 32 10 1.1 tsutsui 11 1.1 tsutsui USE_MBR= yes 12 1.1 tsutsui MBRFAT= 6 # 16-bit FAT, more than 32M 13 1.1 tsutsui 14 1.1 tsutsui # Omit comp etc. due to size restriction 15 1.1 tsutsui KERN_SET= kern-WZERO3 16 1.1 tsutsui #SETS= base modules etc misc rescue text xbase xetc xfont xserver 17 1.1 tsutsui 18 1.1 tsutsui # prepare JORNADA720 kernel as an independent name 19 1.1 tsutsui prepare_md_post: 20 1.1 tsutsui echo Extracting kern-JORNADA720.${TAR_SUFF} ... 21 1.1 tsutsui ${TOOL_PAX} ${PAX_TIMESTAMP} -rn \ 22 1.1 tsutsui --use-compress-program=${COMPRESS_PROGRAM:Q} \ 23 1.1 tsutsui -f ${SETS_DIR}/kern-JORNADA720.${TAR_SUFF} . 24 1.1 tsutsui mv netbsd netbsd.JORNADA720 25 1.1 tsutsui 26 1.1 tsutsui CLEANFILES+= netbsd.JORNADA720 27 1.1 tsutsui 28 1.1 tsutsui IMGFILE_EXTRA= \ 29 1.1 tsutsui ${.OBJDIR}/netbsd.JORNADA720 . 30 1.1 tsutsui 31 1.1 tsutsui DISKPROTO_IN= ${.CURDIR}/../../common/bootimage/diskproto.mbrfat.in 32 1.1 tsutsui FSTAB_IN= ${.CURDIR}/fstab.in 33 1.1 tsutsui SPEC_EXTRA= ${.CURDIR}/spec.in 34 1.1 tsutsui 35 1.1 tsutsui FATFILES= ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/hpcboot.exe 36 1.1 tsutsui FATFILES+= ${WORKDIR}/netbsd 37 1.1 tsutsui FATFILES+= ${WORKDIR}/netbsd.JORNADA720 38 1.1 tsutsui 39 1.1 tsutsui .include "${.CURDIR}/../../common/bootimage/Makefile.liveimage" 40