Skip to content

Commit 406cb48

Browse files
bdrewerybrooksdavis
authored andcommitted
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
2 parents 0fe052f + 1a38c45 commit 406cb48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \
741741
universe_kernconfs: universe_kernels_prologue .PHONY
742742
.for kernel in ${KERNCONFS}
743743
TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
744+
env PATH=${HOST_OBJTOP}/tmp/legacy/bin:${PATH:Q} \
744745
config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \
745746
grep -v WARNING: | cut -f 2
746747
.if empty(TARGET_ARCH_${kernel})

0 commit comments

Comments
 (0)