Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2025 05:33:51 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 830684a523e4 - stable/15 - Makefile: Fix ordering for (update-)packages
Message-ID:  <202510050533.5955XpxB010557@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/15 has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=830684a523e43219ff1094b6009e2d7338e5b2dd

commit 830684a523e43219ff1094b6009e2d7338e5b2dd
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-10-03 05:43:15 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-10-05 05:24:54 +0000

    Makefile: Fix ordering for (update-)packages
    
    The (update-)packages targets require buildworld and buildkernel to
    run first.  Add some .ORDER statements to ensure this happens.
    
    This fixes 'make -j8 buildworld buildkernel packages'.
    
    PR:             289969
    Reported by:    yasu
    MFC after:      3 days
    Reviewed by:    yasu, emaste
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D52877
    
    (cherry picked from commit dfc9da6248491072e31f924f5ae6b6238603089a)
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 383430307495..664f31a48abf 100644
--- a/Makefile
+++ b/Makefile
@@ -219,6 +219,8 @@ META_TGT_WHITELIST+=	build${libcompat}
 .ORDER: buildworld distribute
 .ORDER: buildworld distributeworld
 .ORDER: buildworld buildkernel
+.ORDER: buildworld packages
+.ORDER: buildworld update-packages
 .ORDER: distrib-dirs distribute
 .ORDER: distrib-dirs distributeworld
 .ORDER: distrib-dirs installworld
@@ -232,6 +234,8 @@ META_TGT_WHITELIST+=	build${libcompat}
 .ORDER: buildkernel installkernel.debug
 .ORDER: buildkernel reinstallkernel
 .ORDER: buildkernel reinstallkernel.debug
+.ORDER: buildkernel packages
+.ORDER: buildkernel update-packages
 .ORDER: kernel-toolchain buildkernel
 
 # Only sanitize PATH on FreeBSD.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510050533.5955XpxB010557>