Patchwork [meta-oe] toolchain-layer: initial add

login
register
mail settings
Submitter Koen Kooi
Date March 22, 2012, 5:34 p.m.
Message ID <1332437690-32065-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/24175/
State Accepted
Commit 1abbfd367b38016975d9eb9e89cf31b12d3085f5
Headers show

Comments

Koen Kooi - March 22, 2012, 5:34 p.m.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 toolchain-layer/COPYING.MIT     |   17 +++++++++++++++++
 toolchain-layer/README          |   14 ++++++++++++++
 toolchain-layer/conf/layer.conf |   25 +++++++++++++++++++++++++
 3 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 toolchain-layer/COPYING.MIT
 create mode 100644 toolchain-layer/README
 create mode 100644 toolchain-layer/conf/layer.conf
Eric BENARD - March 22, 2012, 5:39 p.m.
Le Thu, 22 Mar 2012 18:34:50 +0100,
Koen Kooi <koen@dominion.thruhere.net> a écrit :

> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Eric Bénard <eric@eukrea.com>

Patch

diff --git a/toolchain-layer/COPYING.MIT b/toolchain-layer/COPYING.MIT
new file mode 100644
index 0000000..fb950dc
--- /dev/null
+++ b/toolchain-layer/COPYING.MIT
@@ -0,0 +1,17 @@ 
+Permission is hereby granted, free of charge, to any person obtaining a copy 
+of this software and associated documentation files (the "Software"), to deal 
+in the Software without restriction, including without limitation the rights 
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
+copies of the Software, and to permit persons to whom the Software is 
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in 
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
+THE SOFTWARE.
diff --git a/toolchain-layer/README b/toolchain-layer/README
new file mode 100644
index 0000000..15ac069
--- /dev/null
+++ b/toolchain-layer/README
@@ -0,0 +1,14 @@ 
+This layer depends on:
+
+URI: git://git.openembedded.org/openembedded-core
+branch: master
+revision: HEAD
+
+Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-oe][toolchain-layer]' in the subject'
+
+When sending single patches, please use something like 'git send-email -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-oe][toolchain-layer'
+
+You are encouraged to fork the mirror on github https://github.com/openembedded/meta-oe/ to share your patches, this is preferred for patch sets consisting of more than one patch. Other services like gitorious, repo.or.cz or self hosted setups are of course accepted as well, 'git fetch <remote>' works the same on all of them. We recommend github because it is free, easy to use, has been proven to be reliable and has a really good web GUI.
+
+Main layer maintainer: Koen Kooi <koen@dominion.thruhere.net>
+
diff --git a/toolchain-layer/conf/layer.conf b/toolchain-layer/conf/layer.conf
new file mode 100644
index 0000000..ca81eb1
--- /dev/null
+++ b/toolchain-layer/conf/layer.conf
@@ -0,0 +1,25 @@ 
+# It really depends on order of the layers appearing in BBLAYERS
+# variable in toplevel bblayers.conf file, where bitbake will search
+# for .inc files and others where bitbake uses BBPATH since it will
+# search the directories from first to last as specified in BBPATH
+# Therefore if you want a given layer to be considered high priority
+# for the .inc and .conf etc. then consider it adding at the beginning
+# of BBPATH. For bblayers bitbake will use BBFILES_PRIORITY to resolve
+# the recipe contention so the order of directories in BBFILES does 
+# not matter.
+
+# We have a conf directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have a recipes directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "toolchain-layer"
+BBFILE_PATTERN_toolchain-layer := "^${LAYERDIR}/"
+
+# Define the priority for recipes (.bb files) from this layer,
+# choosing carefully how this layer interacts with all of the
+# other layers.
+
+BBFILE_PRIORITY_toolchain-layer = "6"
+