1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 KERNEL_MAKE_OPTS
:= V
=1 -C
"${LINUX_DIR}" \
5 ARCH
="$(ADK_TARGET_KARCH)" \
6 CROSS_COMPILE
="$(TARGET_CROSS)" \
9 HOSTCXX
="${HOST_CXX}" \
10 DISABLE_PAX_PLUGINS
=y \
11 CONFIG_SHELL
='${SHELL}'
13 # regex for relocs needs pcre on Darwin
14 ifeq ($(ADK_HOST_DARWIN
),y
)
15 KERNEL_MAKE_OPTS
+= HOSTCFLAGS
='$(HOST_CPPFLAGS) ${HOST_CFLAGS}' HOSTLDFLAGS
='-lpcreposix'
17 KERNEL_MAKE_OPTS
+= HOSTCFLAGS
='${HOST_CFLAGS}'
20 KERNEL_MAKE_ENV
:= PATH
="${TOOLCHAIN_DIR}/usr/bin:${STAGING_HOST_DIR}/usr/bin:$$PATH"