Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2025 05:44:15 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: dfc9da624849 - main - Makefile: Fix ordering for (update-)packages
Message-ID:  <202510030544.5935iFG4099179@gitrepo.freebsd.org>

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

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

commit dfc9da6248491072e31f924f5ae6b6238603089a
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-10-03 05:43:15 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-10-03 05:43:15 +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
---
 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?202510030544.5935iFG4099179>