diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2014-09-23 15:17:53 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2014-09-25 15:22:40 +0300 |
commit | 8962af850b3317680b88f0d8fa10df5787747e27 (patch) | |
tree | 2a2d54bc0ae7ec46581e1fb0d4f4f2afbb428374 | |
parent | 2395137acb37e56a85c1b78bad86a58d9c04e54d (diff) | |
download | meta-boot2qt-8962af850b3317680b88f0d8fa10df5787747e27.tar.gz |
Move meta-toradex specific files to separate layer
Create new layer for recipes and files that required only when
meta-toradex layer is used. For now, the bblayers.conf
template still includes the new layer as well.
Change-Id: Ib2c81a444786845f2e7c2fbf78dd0676459996c0
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
-rw-r--r-- | conf/bblayers.conf.sample | 1 | ||||
-rw-r--r-- | meta-toradex-extras/conf/layer.conf | 33 | ||||
-rw-r--r-- | meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend (renamed from recipes/linux/linux-toradex-fsl_git.bbappend) | 0 |
3 files changed, 34 insertions, 0 deletions
diff --git a/conf/bblayers.conf.sample b/conf/bblayers.conf.sample index 2a6e8aa..46e69d8 100644 --- a/conf/bblayers.conf.sample +++ b/conf/bblayers.conf.sample | |||
@@ -41,6 +41,7 @@ BBLAYERS ?= " \ | |||
41 | ##COREBASE##/meta-b2qt/meta-ti-extras \ | 41 | ##COREBASE##/meta-b2qt/meta-ti-extras \ |
42 | ##COREBASE##/meta-b2qt/meta-fsl-extras \ | 42 | ##COREBASE##/meta-b2qt/meta-fsl-extras \ |
43 | ##COREBASE##/meta-b2qt/meta-beagleboard-extras \ | 43 | ##COREBASE##/meta-b2qt/meta-beagleboard-extras \ |
44 | ##COREBASE##/meta-b2qt/meta-toradex-extras \ | ||
44 | " | 45 | " |
45 | BBLAYERS_NON_REMOVABLE ?= " \ | 46 | BBLAYERS_NON_REMOVABLE ?= " \ |
46 | ##COREBASE##/meta \ | 47 | ##COREBASE##/meta \ |
diff --git a/meta-toradex-extras/conf/layer.conf b/meta-toradex-extras/conf/layer.conf new file mode 100644 index 0000000..aba9374 --- /dev/null +++ b/meta-toradex-extras/conf/layer.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # We have a conf and classes directory, append to BBPATH | ||
24 | BBPATH .= ":${LAYERDIR}" | ||
25 | |||
26 | # We have a recipes directory, add to BBFILES | ||
27 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
28 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
29 | " | ||
30 | |||
31 | BBFILE_COLLECTIONS += "b2qt_toradex" | ||
32 | BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/" | ||
33 | BBFILE_PRIORITY_b2qt_toradex = "20" | ||
diff --git a/recipes/linux/linux-toradex-fsl_git.bbappend b/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend index 0bcbad7..0bcbad7 100644 --- a/recipes/linux/linux-toradex-fsl_git.bbappend +++ b/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend | |||