summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-06-09 11:37:44 +0100
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-06-09 12:09:31 +0100
commit859fd439ec699baaff45ccfa494bbd8b803987f8 (patch)
tree8c808c329a69e0ec025d1e700c73758ea38e8b9f
parent207ee23fa0e62cd7ea3397e34154e14d7b564ec6 (diff)
downloadfvp-armv8-859fd439ec699baaff45ccfa494bbd8b803987f8.tar.gz
Update kernel location
Change-Id: Ia3c908bb541a7db754c9399785fea17fe8169dc2 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--BoardConfig.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 99a837e..e345176 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -37,7 +37,13 @@ KERNEL_CONFIG ?= linaro/configs/linaro-base.conf \
$(realpath $(TOP))/device/linaro/build/selinux.conf
# Kernel Source and Device Tree
-TARGET_KERNEL_SOURCE ?= kernel/linaro/armv8
+# Check the available kernel source and set the same
+ifneq ($(wildcard $(TOP)/kernel/linaro/vexpress),)
+TARGET_KERNEL_SOURCE := kernel/linaro/vexpress
+else
+TARGET_KERNEL_SOURCE := kernel/linaro/armlt
+endif
+
DEVICE_TREES := fvp-base-gicv2-psci:fvp-base-gicv2-psci.dtb fvp-base-gicv2-psci:fdt.dtb
BUILD_KERNEL_MODULES ?= true