git: dfc9da624849 - main - Makefile: Fix ordering for (update-)packages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Oct 2025 05:44:15 UTC
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.