From 651c6845c79f5c65039266d1e97d33927ed4acef Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 31 Oct 2017 21:51:33 +0000 Subject: [PATCH] kernel-toolchain: Fix improper build order after r325244. Due to removing some targets that the previous .ORDER: ${WMAKE_TGTS} set, it was no longer being respected; _build_tools was coming immediately. Pointyhat to: bdrewery X-MFC-with: r325244 MFC after: 2 weeks Sponsored by: Dell EMC Isilon --- Makefile.inc1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 17163a22fbbd..d0ab1e6224e5 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -996,7 +996,11 @@ buildenv: .PHONY TOOLCHAIN_TGTS= ${WMAKE_TGTS:Neverything:Nbuild${libcompat}} toolchain: ${TOOLCHAIN_TGTS} .PHONY -kernel-toolchain: ${TOOLCHAIN_TGTS:N_obj:N_cleanobj:N_includes:N_libraries} .PHONY +KERNEL_TOOLCHAIN_TGTS= ${TOOLCHAIN_TGTS:N_obj:N_cleanobj:N_includes:N_libraries} +.if make(kernel-toolchain) +.ORDER: ${KERNEL_TOOLCHAIN_TGTS} +.endif +kernel-toolchain: ${KERNEL_TOOLCHAIN_TGTS} .PHONY # # installcheck