From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/conf/distro/arago.conf                          | 8 +++++++-
 meta-arago-distro/conf/distro/include/arago-prefs.inc             | 2 +-
 .../recipes-kernel/linux/linux-ti-staging-systest_%.bbappend      | 5 +++++
 3 files changed, 13 insertions(+), 2 deletions(-)
 create mode 100644 
meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index 96e2b2c..f4f499e 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -61,9 +61,15 @@ PACKAGECONFIG_pn-curl = 
"${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6",
 # Enable UI and scripting for perf
 PERF_FEATURES_ENABLE ?= "perf-scripting perf-tui"
 
+ARAGO_KERNEL_SUFFIX ?= ""
+
 # Set real-time kernel suffix
 ARAGO_RT_ENABLE ?= "0"
-ARAGO_RT_SUFFIX = "${@base_conditional("ARAGO_RT_ENABLE", "1", "-rt", "", d)}"
+ARAGO_KERNEL_SUFFIX_append = "${@base_conditional("ARAGO_RT_ENABLE", "1", 
"-rt", "", d)}"
+
+# Set systest kernel suffix
+ARAGO_SYSTEST_ENABLE ?= "0"
+ARAGO_KERNEL_SUFFIX_append = "${@base_conditional("ARAGO_SYSTEST_ENABLE", "1", 
"-systest", "", d)}"
 
 # ARM9 is not supported by the Linaro toolchain so default back to the Arago
 # toolchain for ARM9 based SOCs.
diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc 
b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index ec6238d..8acd156 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -65,7 +65,7 @@ PREFERRED_PROVIDER_virtual/libgl_keystone = "mesa"
 PREFERRED_PROVIDER_virtual/mesa_keystone = "mesa"
 
 # Use latest TI staging kernel and u-boot trees
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging${ARAGO_RT_SUFFIX}"
+PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging${ARAGO_KERNEL_SUFFIX}"
 PREFERRED_VERSION_linux-ti-staging = "4.1%"
 
 PREFERRED_PROVIDER_virtual/bootloader_am335x-evm = "u-boot-ti-staging"
diff --git 
a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend 
b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend
new file mode 100644
index 0000000..b93b610
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend
@@ -0,0 +1,5 @@
+MACHINE_KERNEL_PR_append = "-arago0"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
+
+require copy-defconfig.inc
-- 
2.2.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to