summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-13 11:41:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-13 11:44:35 +0100
commit2413cc92988b88e5b1e83173547c1a6e94f0b066 (patch)
tree0b60d65605754e63cd0026f0369f1cf808b6846a /mk
parentd8723a83e14dd7775b0a45c704a6462758cdf6f0 (diff)
linux: fix dtc compile with OpenBSD host
Diffstat (limited to 'mk')
-rw-r--r--mk/kernel-vars.mk2
1 files changed, 1 insertions, 1 deletions
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