task-sdk.bb and task-sdk-bare.bb duplicate some functionality
[ Both patches are also attached to bug 4797 ]
Currently, we have task-sdk.bb, which provides task-sdk-bare, and will bring in just abstracted ${LIBC}, $[LIBC}-dev and libgcc-dev. We also have task-sdk-bare.bb which brings in a number of glibc packages, libgcc and libstdc++/libstdc++-dev and as far as I can tell is the only task-sdk-bare actually used. The attached patch consolidates both so that task-sdk-bare.bb will be useful on both glibc and uclibc.
task-sdk-bare: Update and abstract to support uclibc task-sdk.bb provided a task-sdk-bare version that supported uclibc, but this wasn't used anymore. Update task-sdk-bare.bb to have glibc / uclibc abstractions and delete the unused file.
packages/tasks/task-sdk-bare.bb +11 -1
@@ -5,7 +5,7 @@ ALLOW_EMPTY = "1" PACKAGES = "${PN}" -RDEPENDS_${PN} = "\ +GLIBC_PKGS = "\ glibc \ glibc-dbg \ glibc-dev \
@@ -18,6 +18,16 @@ RDEPENDS_${PN} = "\ glibc-gconv-iso8859-1 \ glibc-gconv-iso8859-15 \ locale-base-en-gb \ + " + +LIBC_PKGS_linux = "${GLIBC_PKGS}" +LIBC_PKGS_linux-gnueabi = "${GLIBC_PKGS}" +LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev" +LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev" + +RDEPENDS_${PN} = "\ + ${LIBC_PKGS} \ libgcc \ libstdc++ \ + libstdc++-dev \ "
packages/tasks/task-sdk.bb deleted +0 -22
@@ -1,22 +0,0 @@ -DESCRIPTION = "SDK packages" -PR = "r8" -LICENSE = "MIT" -ALLOW_EMPTY = "1" - -PACKAGES = "\ - task-sdk-bare \ - " - -DEPENDS = "virtual/libc" - -LIBC_linux = "glibc" -LIBC_linux-uclibc = "uclibc" -LIBC_linux-gnueabi = "glibc" -LIBC_linux-uclibcgnueabi = "uclibc" - - -RDEPENDS_task-sdk-bare = "\ - ${LIBC} \ - ${LIBC}-dev \ - libgcc \ - "
Signature · 5 lines
1.5.2.5 As an addition to the previous patch, add uclibc-thread-db to the list of uclibc packages to install, based on glibc bringing in glibc-thread-db.
packages/tasks/task-sdk-bare.bb +2 -2
@@ -22,8 +22,8 @@ GLIBC_PKGS = "\ LIBC_PKGS_linux = "${GLIBC_PKGS}" LIBC_PKGS_linux-gnueabi = "${GLIBC_PKGS}" -LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev" -LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev" +LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev uclibc-thread-db" +LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev uclibc-thread-db" RDEPENDS_${PN} = "\ ${LIBC_PKGS} \
Signature · 1 line
Tom Rini
Quoted 10 lines · Tom Rini
[ Both patches are also attached to bug 4797 ]
Currently, we have task-sdk.bb, which provides task-sdk-bare, and will bring in just abstracted ${LIBC}, $[LIBC}-dev and libgcc-dev. We also have task-sdk-bare.bb which brings in a number of glibc packages, libgcc and libstdc++/libstdc++-dev and as far as I can tell is the only task-sdk-bare actually used. The attached patch consolidates both so that task-sdk-bare.bb will be useful on both glibc and uclibc.
Signed-off-by Tom Rini <[email protected]>
Anyone?
Quoted 92 lines
task-sdk-bare: Update and abstract to support uclibc task-sdk.bb provided a task-sdk-bare version that supported uclibc, but this wasn't used anymore. Update task-sdk-bare.bb to have glibc / uclibc abstractions and delete the unused file.
packages/tasks/task-sdk-bare.bb +11
-1@@ -5,7 +5,7 @@ ALLOW_EMPTY = "1" PACKAGES = "${PN}" -RDEPENDS_${PN} = "\ +GLIBC_PKGS = "\ glibc \ glibc-dbg \ glibc-dev \@@ -18,6 +18,16 @@ RDEPENDS_${PN} = "\ glibc-gconv-iso8859-1 \ glibc-gconv-iso8859-15 \ locale-base-en-gb \ + " + +LIBC_PKGS_linux = "${GLIBC_PKGS}" +LIBC_PKGS_linux-gnueabi = "${GLIBC_PKGS}" +LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev" +LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev" + +RDEPENDS_${PN} = "\ + ${LIBC_PKGS} \ libgcc \ libstdc++ \ + libstdc++-dev \ "packages/tasks/task-sdk.bb deleted +0
-22@@ -1,22 +0,0 @@ -DESCRIPTION = "SDK packages" -PR = "r8" -LICENSE = "MIT" -ALLOW_EMPTY = "1" - -PACKAGES = "\ - task-sdk-bare \ - " - -DEPENDS = "virtual/libc" - -LIBC_linux = "glibc" -LIBC_linux-uclibc = "uclibc" -LIBC_linux-gnueabi = "glibc" -LIBC_linux-uclibcgnueabi = "uclibc" - - -RDEPENDS_task-sdk-bare = "\ - ${LIBC} \ - ${LIBC}-dev \ - libgcc \ - "Signature · 5 lines
1.5.2.5 As an addition to the previous patch, add uclibc-thread-db to the list of uclibc packages to install, based on glibc bringing in glibc-thread-db.packages/tasks/task-sdk-bare.bb +2
-2@@ -22,8 +22,8 @@ GLIBC_PKGS = "\ LIBC_PKGS_linux = "${GLIBC_PKGS}" LIBC_PKGS_linux-gnueabi = "${GLIBC_PKGS}" -LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev" -LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev" +LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev uclibc-thread-db" +LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev uclibc-thread-db" RDEPENDS_${PN} = "\ ${LIBC_PKGS} \Signature · 7 lines
-- Tom Rini _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini
Quoted 100 lines · Tom Rini
Quoted 10 lines · Tom Rini
[ Both patches are also attached to bug 4797 ]
Currently, we have task-sdk.bb, which provides task-sdk-bare, and will bring in just abstracted ${LIBC}, $[LIBC}-dev and libgcc-dev. We also have task-sdk-bare.bb which brings in a number of glibc packages, libgcc and libstdc++/libstdc++-dev and as far as I can tell is the only task-sdk-bare actually used. The attached patch consolidates both so that task-sdk-bare.bb will be useful on both glibc and uclibc.
Signed-off-by Tom Rini <[email protected]>Anyone?
Quoted 85 lines
task-sdk-bare: Update and abstract to support uclibc task-sdk.bb provided a task-sdk-bare version that supported uclibc, but this wasn't used anymore. Update task-sdk-bare.bb to have glibc / uclibc abstractions and delete the unused file.
packages/tasks/task-sdk-bare.bb +11
-1@@ -5,7 +5,7 @@ ALLOW_EMPTY = "1" PACKAGES = "${PN}" -RDEPENDS_${PN} = "\ +GLIBC_PKGS = "\ glibc \ glibc-dbg \ glibc-dev \@@ -18,6 +18,16 @@ RDEPENDS_${PN} = "\ glibc-gconv-iso8859-1 \ glibc-gconv-iso8859-15 \ locale-base-en-gb \ + " + +LIBC_PKGS_linux = "${GLIBC_PKGS}" +LIBC_PKGS_linux-gnueabi = "${GLIBC_PKGS}" +LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev" +LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev" + +RDEPENDS_${PN} = "\ + ${LIBC_PKGS} \ libgcc \ libstdc++ \ + libstdc++-dev \ "packages/tasks/task-sdk.bb deleted +0
-22@@ -1,22 +0,0 @@ -DESCRIPTION = "SDK packages" -PR = "r8" -LICENSE = "MIT" -ALLOW_EMPTY = "1" - -PACKAGES = "\ - task-sdk-bare \ - " - -DEPENDS = "virtual/libc" - -LIBC_linux = "glibc" -LIBC_linux-uclibc = "uclibc" -LIBC_linux-gnueabi = "glibc" -LIBC_linux-uclibcgnueabi = "uclibc" - - -RDEPENDS_task-sdk-bare = "\ - ${LIBC} \ - ${LIBC}-dev \ - libgcc \ - "Signature · 5 lines
1.5.2.5 As an addition to the previous patch, add uclibc-thread-db to the list of uclibc packages to install, based on glibc bringing in glibc-thread-db.packages/tasks/task-sdk-bare.bb +2
-2@@ -22,8 +22,8 @@ GLIBC_PKGS = "\ LIBC_PKGS_linux = "${GLIBC_PKGS}" LIBC_PKGS_linux-gnueabi = "${GLIBC_PKGS}" -LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev" -LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev" +LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev uclibc-thread-db" +LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev uclibc-thread-db" RDEPENDS_${PN} = "\ ${LIBC_PKGS} \
Quoted 10 lines
Quoted 7 lines
Signature · 6 lines
Tom Rini _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develSignature · 1 line
Tom Rini
Hm,
is this a core change or not? If yes +1 from and by the way if Tom Rini wants it, I suggest he gets git rw status, because he submitted a lot of good patches.
Bye Henning
On Mon, Nov 24, 2008 at 11:24:13PM +0100, Henning Heinold wrote:
[snip]
Quoted 5 lines
Hm,
is this a core change or not? If yes +1 from and by the way if Tom Rini wants it, I suggest he gets git rw status, because he submitted a lot of good patches.
If that means I can get some of my still outstand changes in bugzilla in, sure :)
Signature · 1 line
Tom Rini
Commit access for Tim Rini (Was: Re: [BUG 4797] task-sdk.bb and task-sdk-bare.bb duplicate some functionality )
In reply to Henning HeinoldQuoted 9 lines · On Monday 24 November 2008 23:24:13 Henning Heinold wrote:
Quoted 1 line · Tom Rini
Tom Rini
Hm,
is this a core change or not? If yes +1 from and by the way if Tom Rini wants it, I suggest he gets git rw status, because he submitted a lot of good patches.
I second that.
z.
Re: Commit access for Tim Rini (Was: Re: [BUG 4797] task-sdk.bb and task-sdk-bare.bb duplicate some functionality )
+1
Tom,
send me your ssh key.
Signature · 1 line
:M: