From 506bad783cc354f164a5460f037034607b758f52 Mon Sep 17 00:00:00 2001 From: Teemu Holappa Date: Mon, 16 Nov 2015 11:41:46 +0200 Subject: Added Realtek wlan modules for nuc device Change-Id: I9cc71e06e33dbacde1a6f567218ffb8f9092f2d8 Reviewed-by: Samuli Piippo Reviewed-by: Teemu Holappa --- conf/bblayers.conf.nuc.sample | 1 + meta-nuc-extras/conf/layer.conf | 33 ++++++++++++++++++++++ .../recipes/linux/linux-yocto/wlan-realtek.cfg | 9 ++++++ .../recipes/linux/linux-yocto_3.%.bbappend | 26 +++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 meta-nuc-extras/conf/layer.conf create mode 100644 meta-nuc-extras/recipes/linux/linux-yocto/wlan-realtek.cfg create mode 100644 meta-nuc-extras/recipes/linux/linux-yocto_3.%.bbappend diff --git a/conf/bblayers.conf.nuc.sample b/conf/bblayers.conf.nuc.sample index 9a57e81..d47b659 100644 --- a/conf/bblayers.conf.nuc.sample +++ b/conf/bblayers.conf.nuc.sample @@ -40,6 +40,7 @@ BBLAYERS ?= " \ ${BSPDIR}/sources/meta-qt5 \ ${BSPDIR}/sources/meta-openembedded/meta-ruby \ ${BSPDIR}/sources/meta-b2qt \ + ${BSPDIR}/sources/meta-b2qt/meta-nuc-extras \ " BBLAYERS_NON_REMOVABLE ?= " \ ${BSPDIR}/sources/poky/meta \ diff --git a/meta-nuc-extras/conf/layer.conf b/meta-nuc-extras/conf/layer.conf new file mode 100644 index 0000000..6eb4d71 --- /dev/null +++ b/meta-nuc-extras/conf/layer.conf @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +## +## This file is part of the Qt Enterprise Embedded Scripts of the Qt +## framework. +## +## $QT_BEGIN_LICENSE$ +## Commercial License Usage Only +## Licensees holding valid commercial Qt license agreements with Digia +## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, +## may use this file in accordance with the terms contained in said license +## agreement. +## +## For further information use the contact form at +## http://www.qt.io/contact-us. +## +## +## $QT_END_LICENSE$ +## +############################################################################# + +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ + ${LAYERDIR}/recipes*/*/*.bbappend \ + " + +BBFILE_COLLECTIONS += "b2qt_nuc" +BBFILE_PATTERN_b2qt_nuc := "^${LAYERDIR}/" +BBFILE_PRIORITY_b2qt_nuc = "20" diff --git a/meta-nuc-extras/recipes/linux/linux-yocto/wlan-realtek.cfg b/meta-nuc-extras/recipes/linux/linux-yocto/wlan-realtek.cfg new file mode 100644 index 0000000..65ac248 --- /dev/null +++ b/meta-nuc-extras/recipes/linux/linux-yocto/wlan-realtek.cfg @@ -0,0 +1,9 @@ +CONFIG_RTLWIFI=m +CONFIG_RTLWIFI_DEBUG=n +CONFIG_RTL8723AE=m +CONFIG_RTL8192SE=m +CONFIG_RTL8192DE=m +CONFIG_RTL8192CU=m +CONFIG_RTL8192CE=m +CONFIG_RTL8192C_COMMON=m +CONFIG_RTL8188EE=m diff --git a/meta-nuc-extras/recipes/linux/linux-yocto_3.%.bbappend b/meta-nuc-extras/recipes/linux/linux-yocto_3.%.bbappend new file mode 100644 index 0000000..d6182fc --- /dev/null +++ b/meta-nuc-extras/recipes/linux/linux-yocto_3.%.bbappend @@ -0,0 +1,26 @@ +############################################################################# +## +## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +## +## This file is part of the Qt Enterprise Embedded Scripts of the Qt +## framework. +## +## $QT_BEGIN_LICENSE$ +## Commercial License Usage Only +## Licensees holding valid commercial Qt license agreements with Digia +## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, +## may use this file in accordance with the terms contained in said license +## agreement. +## +## For further information use the contact form at +## http://www.qt.io/contact-us. +## +## +## $QT_END_LICENSE$ +## +############################################################################# + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI += "\ + file://wlan-realtek.cfg \ + " -- cgit v1.2.3-54-g00ecf