]> Zhao Yanbai Git Server - minix.git/commitdiff
Restablishing old behaviour of make hdboot
authorLionel Sambuc <lionel@minix3.org>
Thu, 15 Nov 2012 12:53:52 +0000 (13:53 +0100)
committerLionel Sambuc <lionel@minix3.org>
Thu, 15 Nov 2012 15:12:45 +0000 (16:12 +0100)
Change-Id: Idfa4dabbbbdbab31feedc2c541d0c989df5475a2

releasetools/Makefile

index 1ce84dbd5c89a23e4053a6656119e1ff3b52b86c..70fb58b3acae30ca5b4dafcecc822e096fd9bf5c 100644 (file)
@@ -80,7 +80,9 @@ drivers: includes servers
 bootable:
        exec su root mkboot bootable
 
-hdboot: 
+hdboot: services .WAIT do-hdboot
+
+do-hdboot: 
        @rm -rf ${DESTDIR}/boot/minix/.temp/
        ${INSTALL_DIR} ${DESTDIR}/boot/minix/.temp
 # mod_0 is used to make alphabetical order equal to the boot order
@@ -96,7 +98,7 @@ hdboot:
        @if [ "${MKINSTALLBOOT:Uno}" != "no" ] ; then           \
        ${STRIP} -s ${DESTDIR}/boot/minix/.temp/* ;             \
        gzip ${DESTDIR}/boot/minix/.temp/mod* ;                 \
-       ${HOST_SH} mkboot $@;                                   \
+       ${HOST_SH} mkboot hdboot;                                       \
        ${HOST_SH} ../commands/update_bootcfg/update_bootcfg.sh;\
        else                                                    \
        ${INSTALL_DIR} ${DESTDIR}/multiboot;                    \