From 0d5594111ea1712f731cff174f21b3e2c4246c15 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 23 Feb 2016 13:23:56 +0200 Subject: kontron: update to Yocto BSP for SMARC-sAMX6i R02.00 Change-Id: If0f8dc2c786bc63fba69531fa009efd8ae8111b7 Reviewed-by: Teemu Holappa --- meta-smx6-extras/conf/layer.conf | 37 ++++++++++++++++++++++ .../recipes/linux/linux-smx6_3.14.28.bbappend | 26 +++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 meta-smx6-extras/conf/layer.conf create mode 100644 meta-smx6-extras/recipes/linux/linux-smx6_3.14.28.bbappend (limited to 'meta-smx6-extras') diff --git a/meta-smx6-extras/conf/layer.conf b/meta-smx6-extras/conf/layer.conf new file mode 100644 index 0000000..097fefe --- /dev/null +++ b/meta-smx6-extras/conf/layer.conf @@ -0,0 +1,37 @@ +############################################################################## +## +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:COMM$ +## +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. 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_smx6" +BBFILE_PATTERN_b2qt_smx6 := "^${LAYERDIR}/" +BBFILE_PRIORITY_b2qt_smx6 = "20" + +# meta-smx6 depends on fsl-demos, but that's not needed +LAYERDEPENDS_smx6 = "" +# meta-smx6 layer.conf modifies qtbase PACKAGECONFIG +PACKAGECONFIG_remove_pn-qtbase = "examples" diff --git a/meta-smx6-extras/recipes/linux/linux-smx6_3.14.28.bbappend b/meta-smx6-extras/recipes/linux/linux-smx6_3.14.28.bbappend new file mode 100644 index 0000000..00f3c11 --- /dev/null +++ b/meta-smx6-extras/recipes/linux/linux-smx6_3.14.28.bbappend @@ -0,0 +1,26 @@ +############################################################################## +## +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:COMM$ +## +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## $QT_END_LICENSE$ +## +############################################################################## + +do_configure_prepend() { + echo "CONFIG_NAMESPACES=y" >> ${WORKDIR}/defconfig + echo "CONFIG_FHANDLE=y" >> ${WORKDIR}/defconfig + echo "CONFIG_CGROUPS=y" >> ${WORKDIR}/defconfig +} -- cgit v1.2.3-54-g00ecf