]> Zhao Yanbai Git Server - minix.git/commitdiff
Adapting build target to also execute hdboot.
authorLionel Sambuc <lionel@minix3.org>
Mon, 26 Nov 2012 21:59:18 +0000 (22:59 +0100)
committerLionel Sambuc <lionel@minix3.org>
Mon, 26 Nov 2012 22:42:32 +0000 (23:42 +0100)
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

Makefile

index 78fe825352bddacbff714d36f23d64eb49674cb9..0455875bc36ade1f0aee47f6982591f1e6dc3137 100644 (file)
--- 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