aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-common_4.4.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-common_4.4.inc b/common/recipes-kernel/linux/linux-yocto-common_4.4.inc
index 6089f7db..91d5023a 100644
--- a/common/recipes-kernel/linux/linux-yocto-common_4.4.inc
+++ b/common/recipes-kernel/linux/linux-yocto-common_4.4.inc
@@ -23,3 +23,8 @@ SRC_URI_append_amdx86 += " \
"
KERNEL_FEATURES_append_amdx86 = " cfg/smp.scc cfg/sound.scc"
+
+do_validate_branches_append() {
+ # Drop a config generating spurious warnings
+ sed -i '/CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT/d' ${WORKDIR}/${KMETA}/features/i915/i915.cfg
+}