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