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