Home | History | Annotate | Line # | Download | only in common
Makefile.ramdisk revision 1.17
      1  1.17  riastrad #	$NetBSD: Makefile.ramdisk,v 1.17 2024/03/20 13:51:35 riastradh Exp $
      2  1.12     kamil 
      3  1.12     kamil NOSANITIZER=	# defined
      4   1.1   hubertf 
      5   1.1   hubertf .include <bsd.own.mk>
      6   1.1   hubertf .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      7   1.1   hubertf 
      8   1.1   hubertf AMD64COMMON=	${.CURDIR}/../common
      9   1.1   hubertf 
     10   1.1   hubertf .PATH:		${AMD64COMMON}
     11   1.1   hubertf 
     12   1.1   hubertf WARNS=		1
     13   1.1   hubertf DBG=		-Os -fno-asynchronous-unwind-tables
     14   1.1   hubertf 
     15   1.1   hubertf CRUNCHBIN=	ramdiskbin
     16  1.10       apb 
     17  1.10       apb # Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
     18  1.10       apb LISTS?=		${.CURDIR}/list
     19  1.10       apb LISTS+=		${AMD64COMMON}/list.ramdisk
     20   1.1   hubertf MTREECONF=	${DISTRIBDIR}/common/mtree.common
     21   1.1   hubertf IMAGEENDIAN=	le
     22   1.1   hubertf IMAGEDEPENDS+= 	${CRUNCHBIN} \
     23   1.3   tsutsui 		dot.profile \
     24   1.1   hubertf 		${DESTDIR}/usr/mdec/boot \
     25   1.1   hubertf 		${DESTDIR}/usr/mdec/bootxx_ffsv1 \
     26   1.1   hubertf 		${DESTDIR}/usr/mdec/mbr \
     27   1.1   hubertf 		${DESTDIR}/usr/mdec/mbr_ext \
     28   1.1   hubertf 		${DESTDIR}/usr/mdec/mbr_bootsel \
     29  1.11    martin 		${DESTDIR}/usr/mdec/gptmbr.bin \
     30  1.16    martin 		${DESTDIR}/usr/mdec/bootia32.efi \
     31  1.16    martin 		${DESTDIR}/usr/mdec/bootx64.efi \
     32   1.1   hubertf 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     33   1.6       abs 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     34   1.9       roy 		${DISTRIBDIR}/common/services
     35   1.1   hubertf PARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
     36   1.1   hubertf 
     37   1.1   hubertf .if defined(USE_SYSINST)
     38   1.1   hubertf LISTS+=		${DISTRIBDIR}/common/list.sysinst
     39   1.1   hubertf MAKEFS_FLAGS+=	-f 14
     40   1.1   hubertf .endif
     41   1.1   hubertf 
     42   1.1   hubertf # Use stubs to eliminate some large stuff from libc
     43   1.1   hubertf HACKSRC=	${DISTRIBDIR}/utils/libhack
     44   1.1   hubertf .include	"${HACKSRC}/Makefile.inc"
     45   1.1   hubertf ${CRUNCHBIN}:	libhack.o
     46   1.1   hubertf 
     47   1.1   hubertf .include "${DISTRIBDIR}/common/Makefile.crunch"
     48   1.5     joerg .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     49   1.1   hubertf .include "${DISTRIBDIR}/common/Makefile.makedev"
     50   1.1   hubertf .include "${DISTRIBDIR}/common/Makefile.image"
     51   1.1   hubertf 
     52  1.17  riastrad release:	${IMAGE}
     53  1.17  riastrad 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \
     54  1.17  riastrad 		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
     55   1.1   hubertf 
     56   1.1   hubertf .include <bsd.prog.mk>
     57