diff options
| author | Paul Barker <pbarker@toganlabs.com> | 2017-09-08 09:35:48 +0000 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2017-09-24 20:39:35 +0100 |
| commit | cbd2412fb4fd38febdd2e71c6e8e9d7f35e94419 (patch) | |
| tree | 74b543e9a29f8b6ddade46ef9fc4fc830bae05bf /classes/linux-raspberrypi-base.bbclass | |
| parent | 8311d16e5999566d01e6931003f858d979a6e46c (diff) | |
| download | meta-raspberrypi-cbd2412fb4fd38febdd2e71c6e8e9d7f35e94419.tar.gz | |
linux-raspberrypi-base.bbclass: Drop
The only remaining function in linux-raspberrypi-base was split_overlays() which
is used in the sdcard_image-rpi class. So we can move this function over and
drop the now-empty linux-raspberrypi-base class.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Diffstat (limited to 'classes/linux-raspberrypi-base.bbclass')
| -rw-r--r-- | classes/linux-raspberrypi-base.bbclass | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/linux-raspberrypi-base.bbclass b/classes/linux-raspberrypi-base.bbclass deleted file mode 100644 index 0a21cc9..0000000 --- a/classes/linux-raspberrypi-base.bbclass +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | inherit linux-kernel-base | ||
| 2 | |||
| 3 | def split_overlays(d, out, ver=None): | ||
| 4 | dts = d.getVar("KERNEL_DEVICETREE") | ||
| 5 | if out: | ||
| 6 | overlays = oe.utils.str_filter_out('\S+\-overlay\.dtb$', dts, d) | ||
| 7 | overlays = oe.utils.str_filter_out('\S+\.dtbo$', overlays, d) | ||
| 8 | else: | ||
| 9 | overlays = oe.utils.str_filter('\S+\-overlay\.dtb$', dts, d) + \ | ||
| 10 | " " + oe.utils.str_filter('\S+\.dtbo$', dts, d) | ||
| 11 | |||
| 12 | return overlays | ||
