summaryrefslogtreecommitdiff
path: root/mk/kernel-vars.mk
blob: e730f561d99820c9087ff0cac70e3ccd726f410a (plain)
1
2
3
4
5
6
7
8
9
# 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:=	-C "${LINUX_DIR}" V=1
ifneq ($(ADK_NATIVE),y)
KERNEL_MAKE_OPTS+=	CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(ARCH) \
			CC="$(TARGET_CC)" HOSTCC="${CC_FOR_BUILD}" \
			HOSTCFLAGS='${CFLAGS_FOR_BUILD}'
endif