From: Lionel Sambuc Date: Mon, 26 Nov 2012 21:59:18 +0000 (+0100) Subject: Adapting build target to also execute hdboot. X-Git-Tag: v3.2.1~185 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=9584051449f5d560666729e47843515547806a0c;p=minix.git Adapting build target to also execute hdboot. The 'hdboot' target was setup as a dependency of 'distribution' instead of 'build' as it previously was for the now deprecated world target. Change-Id: Icd10f3bd92df38e411600923e7f62e6075eb3008 --- diff --git a/Makefile b/Makefile index 78fe82535..0455875bc 100644 --- a/Makefile +++ b/Makefile @@ -292,6 +292,9 @@ build: .PHONY .MAKE ${MAKEDIRTARGET} . ${tgt} .endfor ${MAKEDIRTARGET} etc install-etc-release +.if defined(__MINIX) + ${MAKEDIRTARGET} releasetools do-hdboot +.endif # defined(__MINIX) @echo "Build started at: ${START_TIME}" @printf "Build finished at: " && date .endif @@ -309,9 +312,6 @@ distribution buildworld: .PHONY .MAKE .endif ${MAKEDIRTARGET} . build NOPOSTINSTALL=1 ${MAKEDIRTARGET} etc distribution INSTALL_DONE=1 -.if defined(__MINIX) - ${MAKEDIRTARGET} releasetools do-hdboot -.endif # defined(__MINIX) .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/" && ${CHECKFLIST:Uyes} == "yes" ${MAKEDIRTARGET} . postinstall-fix-obsolete ${MAKEDIRTARGET} distrib/sets checkflist