aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2013-07-21 05:23:34 +0000
committerGlen Barber <gjb@FreeBSD.org>2013-07-21 05:23:34 +0000
commit3c334738abee8d6db2c645915bdecb7a4146953a (patch)
tree76d309bbd46b7c91f3c7b010074c1bac334bcd5b /release/Makefile
parentf5937ee8e61a8ed1fdfbc7c5fc69053769f568e9 (diff)
downloadsrc-3c334738abee8d6db2c645915bdecb7a4146953a.tar.gz
src-3c334738abee8d6db2c645915bdecb7a4146953a.zip
Create memstick images with the '.img' filename extension.
Requested by: many Approved by: kib (mentor) MFC after: 3 days X-MFC-To: stable/9 only
Notes
Notes: svn path=/head/; revision=253513
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/release/Makefile b/release/Makefile
index 1222647e5e39..ec92886e6859 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -4,7 +4,7 @@
#
# User-driven targets:
# cdrom: Builds release CD-ROM media (release.iso)
-# memstick: Builds memory stick image (memstick)
+# memstick: Builds memory stick image (memstick.img)
# ftp: Sets up FTP distribution area (ftp)
# release: Build all media and FTP distribution area
# install: Copies all release media into ${DESTDIR}
@@ -73,8 +73,8 @@ RELEASE_TARGETS+= cdrom
IMAGES+= release.iso bootonly.iso
.endif
.if exists(${.CURDIR}/${TARGET}/make-memstick.sh)
-RELEASE_TARGETS+= memstick
-IMAGES+= memstick
+RELEASE_TARGETS+= memstick.img
+IMAGES+= memstick.img
.endif
.include <bsd.obj.mk>
@@ -167,7 +167,8 @@ release.iso: system
bootonly.iso: bootonly
sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly
-memstick: system
+memstick: memstick.img
+memstick.img: system
sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}
packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
@@ -191,7 +192,7 @@ clean:
rm -f *.txz MANIFEST
rm -f system
rm -rf release bootonly
- rm -f release.iso bootonly.iso memstick
+ rm -f release.iso bootonly.iso memstick.img
install:
.if defined(DESTDIR) && !empty(DESTDIR)