* [PATCH 0/2 v2] SDK related misc changes
@ 2012-07-02 20:58 Mark Hatle
2012-07-02 20:58 ` [PATCH 1/2 v2] libc-common: Allow -dbg package to append, and not just set package variables Mark Hatle
2012-07-03 17:36 ` [PATCH 0/2 v2] SDK related misc changes Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Mark Hatle @ 2012-07-02 20:58 UTC (permalink / raw)
To: openembedded-core
Commit contents are the same, patch 1/2's commit message was rewritten to
avoid confusion.
----
Two minor changes related to SDK generations. One is a bug fix, the other
allows for better control over the per-file dependency generation.
The following changes since commit 64422f7c5da160050a5454817c8fa9d070104b34:
package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS (2012-07-02 16:44:57 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib mhatle/misc
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/misc
Mark Hatle (2):
libc-common: Allow -dbg package to append, and not just set package
variables
package.bbclass: Allow a package to skip per file dependency
generation
meta/classes/libc-common.bbclass | 6 +++---
meta/classes/package.bbclass | 3 +++
2 files changed, 6 insertions(+), 3 deletions(-)
--
1.7.3.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2 v2] libc-common: Allow -dbg package to append, and not just set package variables
2012-07-02 20:58 [PATCH 0/2 v2] SDK related misc changes Mark Hatle
@ 2012-07-02 20:58 ` Mark Hatle
2012-07-03 17:36 ` [PATCH 0/2 v2] SDK related misc changes Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2012-07-02 20:58 UTC (permalink / raw)
To: openembedded-core
The libc-common attempts to rewrite the package information in a way similar
to debian.bbclass. When it does this, it should be appending to the
dependency variables (RPROVIDES, RREPLACES, and RCONFLICTS), instead
of simply setting a hard coded value. Otherwise the lib package can not
tailor the dependency variables to suite it's needs.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
meta/classes/libc-common.bbclass | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 9b91f0a..8145d64 100644
--- a/meta/classes/libc-common.bbclass
+++ b/meta/classes/libc-common.bbclass
@@ -29,7 +29,7 @@ python populate_packages_prepend () {
d.setVar('PKG_'+bpn+'-dev', 'libc6-dev')
d.setVar('PKG_'+bpn+'-dbg', 'libc6-dbg')
# For backward compatibility with old -dbg package
- d.setVar('RPROVIDES_' + bpn + '-dbg', 'libc-dbg')
- d.setVar('RCONFLICTS_' + bpn + '-dbg', 'libc-dbg')
- d.setVar('RREPLACES_' + bpn + '-dbg', 'libc-dbg')
+ d.appendVar('RPROVIDES_' + bpn + '-dbg', ' libc-dbg')
+ d.appendVar('RCONFLICTS_' + bpn + '-dbg', ' libc-dbg')
+ d.appendVar('RREPLACES_' + bpn + '-dbg', ' libc-dbg')
}
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/2 v2] SDK related misc changes
2012-07-02 20:58 [PATCH 0/2 v2] SDK related misc changes Mark Hatle
2012-07-02 20:58 ` [PATCH 1/2 v2] libc-common: Allow -dbg package to append, and not just set package variables Mark Hatle
@ 2012-07-03 17:36 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-07-03 17:36 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 07/02/2012 01:58 PM, Mark Hatle wrote:
> Commit contents are the same, patch 1/2's commit message was rewritten to
> avoid confusion.
>
> ----
>
> Two minor changes related to SDK generations. One is a bug fix, the other
> allows for better control over the per-file dependency generation.
>
> The following changes since commit 64422f7c5da160050a5454817c8fa9d070104b34:
>
> package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS (2012-07-02 16:44:57 +0100)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib mhatle/misc
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/misc
>
> Mark Hatle (2):
> libc-common: Allow -dbg package to append, and not just set package
> variables
> package.bbclass: Allow a package to skip per file dependency
> generation
>
> meta/classes/libc-common.bbclass | 6 +++---
> meta/classes/package.bbclass | 3 +++
> 2 files changed, 6 insertions(+), 3 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-03 17:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 20:58 [PATCH 0/2 v2] SDK related misc changes Mark Hatle
2012-07-02 20:58 ` [PATCH 1/2 v2] libc-common: Allow -dbg package to append, and not just set package variables Mark Hatle
2012-07-03 17:36 ` [PATCH 0/2 v2] SDK related misc changes Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.