Skip to contentSkip to conversation

layer.conf: define LAYERDEPENDS

PATCH In review Khem Raj 4 participants 5 messages Aug 26, 2015 – Aug 27, 2015

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 layer.conf: define LAYERDEPENDS

qtwebkit needs ruby-native which comes from meta-ruby this patch adds initial set of layer dependencies there may be more that can be added but its a start

---
 conf/layer.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
conf/layer.conf +3 -1
index 92558b3..20d26ad 100644
@@ -5,7 +5,7 @@
 # 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 
+# the recipe contention so the order of directories in BBFILES does
 # not matter.
 
 # We have a conf and classes directory, append to BBPATH
@@ -23,6 +23,8 @@ BBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/"
 
 BBFILE_PRIORITY_qt5-layer = "7"
 
+LAYERDEPENDS_qt5-layer = "core ruby-layer"
+
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
 IMAGE_FEATURES[validitems] += "qtcreator-debug"
Signature · 1 line
2.5.0
#1 lore raw
Quoted 5 lines · Khem Raj

qtwebkit needs ruby-native which comes from meta-ruby this patch adds initial set of layer dependencies there may be more that can be added but its a start

This is only when someone uses QtWebkit; a lot of people does not use it so it is not a real dependency.

We could make it dependent on the collection availability?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
author
#2 lore raw
Quoted 10 lines · Otavio Salvador
Quoted 5 lines · Khem Raj

qtwebkit needs ruby-native which comes from meta-ruby this patch adds initial set of layer dependencies there may be more that can be added but its a start

This is only when someone uses QtWebkit; a lot of people does not use it so it is not a real dependency.

then it should be part of BBMASK which is default so if someone wants it then user gets a clear message and knows what to fix

Quoted 1 line

We could make it dependent on the collection availability?

yes that could be how do u propose to do so

#3 lore raw
Quoted 13 lines · Khem Raj
Quoted 10 lines · Otavio Salvador
Quoted 5 lines · Khem Raj

qtwebkit needs ruby-native which comes from meta-ruby this patch adds initial set of layer dependencies there may be more that can be added but its a start

This is only when someone uses QtWebkit; a lot of people does not use it so it is not a real dependency.

Quoted 6 lines

then it should be part of BBMASK which is default so if someone wants it then user gets a clear message and knows what to fix

Quoted 1 line

We could make it dependent on the collection availability?

yes that could be how do u propose to do so

Chris Larson shared this code for such purpose:

https://github.com/MentorEmbedded/meta-mentor/blob/master/meta-mel/conf/layer.conf#L5-L11

Signature · 1 line
Denys
#4 lore raw
Quoted 17 lines · Denys Dmytriyenko
Quoted 16 lines · Khem Raj
Quoted 10 lines · Otavio Salvador
Quoted 5 lines · Khem Raj

qtwebkit needs ruby-native which comes from meta-ruby this patch adds initial set of layer dependencies there may be more that can be added but its a start

This is only when someone uses QtWebkit; a lot of people does not use it so it is not a real dependency.

then it should be part of BBMASK which is default so if someone wants it then user gets a clear message and knows what to fix

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

We could make it dependent on the collection availability?

yes that could be how do u propose to do so

Chris Larson shared this code for such purpose:

https://github.com/MentorEmbedded/meta-mentor/blob/master/meta-mel/conf/layer.conf#L5-L11

There are plans to merge ruby in oe-core (because of newer webkit-gtk), so I wouldn't worry too much about BBMASKing qtwebkit if meta-ruby is not available.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]