Makefile (e9ba25aabf6932646ddf0eb2144f40003349d921) | Makefile (f377243996062859b7fc011943aa781333843c32) |
---|---|
1# $FreeBSD$ 2# 3# Makefile for building releases and release media. 4# 5# User-driven targets: 6# cdrom: Builds release CD-ROM media (disc1.iso) 7# dvdrom: Builds release DVD-ROM media (dvd1.iso) 8# memstick: Builds memory stick image (memstick.img) --- 110 unchanged lines hidden (view full) --- 119 cd ${WORLDDIR} && ${IMAKE} distributeworld DISTDIR=${.OBJDIR}/${DISTDIR} 120# TODO: Add NO_ROOT mode to mm-tree.sh and etcupdate 121.if !defined(NO_ROOT) 122# Set up mergemaster root database 123 sh ${.CURDIR}/scripts/mm-mtree.sh -m ${WORLDDIR} -F \ 124 "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET} ${.MAKE.JOBS:D-j${.MAKE.JOBS}}" \ 125 -D "${.OBJDIR}/${DISTDIR}/base" 126 sh ${WORLDDIR}/usr.sbin/etcupdate/etcupdate.sh extract -B \ | 1# $FreeBSD$ 2# 3# Makefile for building releases and release media. 4# 5# User-driven targets: 6# cdrom: Builds release CD-ROM media (disc1.iso) 7# dvdrom: Builds release DVD-ROM media (dvd1.iso) 8# memstick: Builds memory stick image (memstick.img) --- 110 unchanged lines hidden (view full) --- 119 cd ${WORLDDIR} && ${IMAKE} distributeworld DISTDIR=${.OBJDIR}/${DISTDIR} 120# TODO: Add NO_ROOT mode to mm-tree.sh and etcupdate 121.if !defined(NO_ROOT) 122# Set up mergemaster root database 123 sh ${.CURDIR}/scripts/mm-mtree.sh -m ${WORLDDIR} -F \ 124 "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET} ${.MAKE.JOBS:D-j${.MAKE.JOBS}}" \ 125 -D "${.OBJDIR}/${DISTDIR}/base" 126 sh ${WORLDDIR}/usr.sbin/etcupdate/etcupdate.sh extract -B \ |
127 -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \ | 127 -m "${MAKE}" -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \ |
128 -s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate" 129.endif 130# Package all components 131 cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${.OBJDIR}/${DISTDIR} 132 mv ${DISTDIR}/*.txz . 133 134kernel.txz: 135 mkdir -p ${DISTDIR} --- 197 unchanged lines hidden --- | 128 -s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate" 129.endif 130# Package all components 131 cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${.OBJDIR}/${DISTDIR} 132 mv ${DISTDIR}/*.txz . 133 134kernel.txz: 135 mkdir -p ${DISTDIR} --- 197 unchanged lines hidden --- |