git: ca538dd7afed - stable/14 - Makefile: Fix ordering for (update-)packages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Oct 2025 05:58:12 UTC
The branch stable/14 has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=ca538dd7afeddfdc7be10fecafc5cc1f226c2de7
commit ca538dd7afeddfdc7be10fecafc5cc1f226c2de7
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:44:21 +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 c2449c1fd29b..1cf7dc888f6b 100644
--- a/Makefile
+++ b/Makefile
@@ -223,6 +223,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
@@ -236,6 +238,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.