All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] linux-raspberrypi-base.bbclass: remove version hack
@ 2016-12-08 10:40 Andreas Müller
  2016-12-12  5:21 ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Müller @ 2016-12-08 10:40 UTC (permalink / raw)
  To: yocto

* no more required (version > 3.17 | > 4.3.x | > 4.4.5)
* causes error with rt kernel

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 classes/linux-raspberrypi-base.bbclass | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/classes/linux-raspberrypi-base.bbclass b/classes/linux-raspberrypi-base.bbclass
index 3a6e33d..dc2330a 100644
--- a/classes/linux-raspberrypi-base.bbclass
+++ b/classes/linux-raspberrypi-base.bbclass
@@ -14,21 +14,6 @@ def get_dts(d, ver=None):
         from the kernel staging '''
         ver = get_kernelversion_file(staging_dir)
 
-    if ver is not None:
-        min_ver = ver.split('.', 3)
-    else:
-        return dts
-
-    # Always turn off device tree support for kernel's < 3.18
-    try:
-        if int(min_ver[0]) >= 4:
-            if (int(min_ver[1]) < 4) or (int(min_ver[1]) == 4 and int(min_ver[2]) < 6):
-                dts = ' '.join([(re.sub(r'(.*)\.dtbo$', r'\1-overlay.dtb', x)) for x in dts.split()])
-        elif int(min_ver[1]) < 18:
-            dts = ""
-    except IndexError:
-        min_ver = None
-
     return dts
 
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-12-29 18:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 10:40 [meta-raspberrypi][PATCH] linux-raspberrypi-base.bbclass: remove version hack Andreas Müller
2016-12-12  5:21 ` Khem Raj
2016-12-12 22:33   ` Petter Mabäcker
2016-12-12 23:55     ` Andreas Müller
2016-12-13  5:39       ` Petter Mabäcker
2016-12-15  5:11         ` Petter Mabäcker
2016-12-29 18:32           ` Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.