summaryrefslogtreecommitdiff
path: root/mk/kernel-vars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/kernel-vars.mk')
-rw-r--r--mk/kernel-vars.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk
new file mode 100644
index 000000000..cbc1257ff
--- /dev/null
+++ b/mk/kernel-vars.mk
@@ -0,0 +1,8 @@
+# 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)"
+endif
+