summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2015-06-30 15:04:52 +0200
committerAnders Roxell <anders.roxell@linaro.org>2015-07-02 10:21:38 +0200
commitfa1d5934b18e86de278728112993eb91f11d9960 (patch)
tree723f53134cb35ba10abce3e5d8e6bd88bdff43af
parent9a6f4b099766e88cfa12241f0c1f3027b6467df5 (diff)
functions.sh allow lng kernels to specify PREFERRED_VERSION
if linux_kernel specified and MACHINE=lng-x86-64 then specify a dedicated kernel version Change-Id: I1371156d10062053cbb7487359d96b67f7735e59 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-xfunctions.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh
index eaffd9d..6541c7a 100755
--- a/functions.sh
+++ b/functions.sh
@@ -159,6 +159,10 @@ PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
# NOTE: this breaks recipes that build external kernel modules
PREFERRED_PROVIDER_virtual/kernel = "${linux_kernel:-linux-dummy}"
PREFERRED_PROVIDER_virtual/kernel_qemux86 = "linux-yocto"
+PREFERRED_VERSION_lng-x86-64 = "${linux_kernel_version:-3.14}"
+PREFERRED_VERSION_lng-test-x86-64 = "${linux_kernel_version:-3.14}"
+PREFERRED_VERSION_lng-rt-x86-64 = "${linux_kernel_version:-3.14}"
+PREFERRED_VERSION_lng-rt-test-x86-64 = "${linux_kernel_version:-3.14}"
# some options needed for HipHopVM
PREFERRED_PROVIDER_libevent = "libevent-fb"