From 2413cc92988b88e5b1e83173547c1a6e94f0b066 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 13 Jan 2024 11:41:00 +0100 Subject: linux: fix dtc compile with OpenBSD host --- mk/kernel-vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk index 8a5d2053d..475353d6f 100644 --- a/mk/kernel-vars.mk +++ b/mk/kernel-vars.mk @@ -25,7 +25,7 @@ endif # non-Linux platforms need elf.h ifneq ($(OS_FOR_BUILD),Linux) KERNEL_MAKE_OPTS+= HOSTCFLAGS='$(HOST_CPPFLAGS) ${HOST_CFLAGS}' -KERNEL_MAKE_OPTS+= HOST_EXTRACFLAGS='-I${LINUX_DIR}/tools/include -I${LINUX_DIR}/usr/include -I${LINUX_DIR}/security/selinux/include -I${ADK_TOPDIR}/adk/include -DKBUILD_NO_NLS' +KERNEL_MAKE_OPTS+= HOST_EXTRACFLAGS='-I${LINUX_DIR}/tools/include -I${LINUX_DIR}/usr/include -I${LINUX_DIR}/security/selinux/include -I${ADK_TOPDIR}/adk/include -I${LINUX_DIR}/scripts/dtc/libfdt -DKBUILD_NO_NLS' else KERNEL_MAKE_OPTS+= HOSTCFLAGS='${HOST_CFLAGS}' endif -- cgit v1.2.3