summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-06-05 18:07:56 -0300
committerRicardo Salveti <ricardo@opensourcefoundries.com>2018-06-07 21:39:03 -0300
commite2a39992532a756af0f6e1acd87432fe7ed7736b (patch)
treecc8d6a54f0b3c03824bdd2fd6fe2f53c070b2a48
parent1ebe13b54b15f95395625c30acb300d9fb16375b (diff)
linux-osf: add bison-native to kernel_configme depends list
Upstream added bison-native to build-deps but that is only available for the do_build task, which is executed after do_kernel_configme -> do_configure. Since do_kernel_configme runs make as part of the merge_config.sh script, add bison-native:do_populate_sysroot to the task depends list. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
-rw-r--r--recipes-kernel/linux/linux-osf.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-osf.inc b/recipes-kernel/linux/linux-osf.inc
index ff0d641..d7cb222 100644
--- a/recipes-kernel/linux/linux-osf.inc
+++ b/recipes-kernel/linux/linux-osf.inc
@@ -26,6 +26,10 @@ KERNEL_FEATURES_remove += " features/debug/printk.scc"
# Always have a package to allow forcing package dependency
ALLOW_EMPTY_${KERNEL_PACKAGE_NAME}-devicetree = "1"
+# Task kernel_configme requires bison-native to be available
+# Upstream added bison-native to build-deps but not for the required task
+do_kernel_configme[depends] += "bison-native:do_populate_sysroot"
+
python __anonymous () {
import bb
devicetree = d.getVar('KERNEL_DEVICETREE', True) or ''