aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2020-04-29 02:18:39 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2020-04-29 02:18:39 +0000
commitb19042cb01ab8c286fb8997e007426032a1cc3f5 (patch)
treec037f05f68f33873ecdbc6a3901770cfcdf84c52 /Makefile
parent9f9c9549fd4f7ce362e95e3a8a50f00ffd00175c (diff)
downloadsrc-b19042cb01ab8c286fb8997e007426032a1cc3f5.tar.gz
src-b19042cb01ab8c286fb8997e007426032a1cc3f5.zip
Use universe-toolchain config(8)
This is a temporary hack to aid with config(8) changing in r360443. It will not work for all cases. env PATH is used because universe-toolchain is only built when worlds are built, and then only if clang is needed, so it may not exist. universe-toolchain needs to be expanded to always be built, inspected to remove non-cross-build-safe tools, used for buildworld/buildkernel, and potentially incremental build support. Sponsored by: Dell EMC
Notes
Notes: svn path=/head/; revision=360453
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f139aea47557..8e9c95eb783d 100644
--- a/Makefile
+++ b/Makefile
@@ -711,6 +711,7 @@ KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \
universe_kernconfs: universe_kernels_prologue .PHONY
.for kernel in ${KERNCONFS}
TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
+ env PATH=${HOST_OBJTOP}/tmp/legacy/bin:${PATH:Q} \
config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \
grep -v WARNING: | cut -f 2
.if empty(TARGET_ARCH_${kernel})