summaryrefslogtreecommitdiff
path: root/meta-phosphor/nuvoton-layer
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2020-09-01 22:17:19 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-09-09 02:40:40 +0300
commitcfef6753e7e72f5e7d43f492d1c3fe2f800b945e (patch)
treedcc9ffb3c3008f378c0a8b6b776f8350634c811e /meta-phosphor/nuvoton-layer
parent3c0e2b42742151eaa590060c5a786fd6a3d4e9f0 (diff)
downloadopenbmc-cfef6753e7e72f5e7d43f492d1c3fe2f800b945e.tar.xz
simplify setting of KERNEL_DANGLING_FEATURES_WARN_ONLY
Setting this within python is not required (From meta-phosphor rev: b737ffb23aff232b2ce212ad54171afe7b216a71) Change-Id: I3d799b5cd9e66c9bc1a4d145274bfa3c06bdf575 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-phosphor/nuvoton-layer')
-rw-r--r--meta-phosphor/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend10
1 files changed, 3 insertions, 7 deletions
diff --git a/meta-phosphor/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend b/meta-phosphor/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend
index 88b386018..3d0bbb7f3 100644
--- a/meta-phosphor/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend
+++ b/meta-phosphor/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend
@@ -3,10 +3,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://phosphor-gpio-keys.scc"
SRC_URI += "file://phosphor-gpio-keys.cfg"
-
-python () {
- # OpenBMC loads in kernel features via other mechanisms so this check
- # in the kernel-yocto.bbclass is not required
- d.setVar("KERNEL_DANGLING_FEATURES_WARN_ONLY","1")
-}
-
+# OpenBMC loads in kernel features via other mechanisms so this check
+# in the kernel-yocto.bbclass is not required
+KERNEL_DANGLING_FEATURES_WARN_ONLY="1"