* [PATCH 0/2] linux-libc-headers-yocto: 3.4 and cleanups
@ 2012-06-22 16:04 Bruce Ashfield
2012-06-22 16:04 ` [PATCH 1/2] linux-libc-headers-yocto: use kernel-arch to set ARCH Bruce Ashfield
2012-06-22 16:04 ` [PATCH 2/2] linux-libc-headers-yocto: update to v3.4 and remove unecessary code Bruce Ashfield
0 siblings, 2 replies; 3+ messages in thread
From: Bruce Ashfield @ 2012-06-22 16:04 UTC (permalink / raw)
To: richard.purdie; +Cc: yocto, poky, saul.wold
Richard/Saul,
There aren't that many users of this recipe, but for those cases
that we need it .. this needed a bit of love. I've made the same
fix that went into the oe-core libc-headers and then bumped this
recipe to the 3.4 standard/base for headers. With recent updates
to the tools, there were parts of this recipe that could be removed,
and they are now gone!
Cheers,
Bruce
The following changes since commit b876f42821383bf0069ee49b607ba06614417fba:
Bogdan Marinescu (1):
guile: fix compilation on MIPS/PPC
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/libc-headers
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/libc-headers
Bruce Ashfield (2):
linux-libc-headers-yocto: use kernel-arch to set ARCH
linux-libc-headers-yocto: update to v3.4 and remove unecessary code
.../linux-libc-headers-yocto_git.bb | 45 ++++----------------
1 files changed, 8 insertions(+), 37 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] linux-libc-headers-yocto: use kernel-arch to set ARCH
2012-06-22 16:04 [PATCH 0/2] linux-libc-headers-yocto: 3.4 and cleanups Bruce Ashfield
@ 2012-06-22 16:04 ` Bruce Ashfield
2012-06-22 16:04 ` [PATCH 2/2] linux-libc-headers-yocto: update to v3.4 and remove unecessary code Bruce Ashfield
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2012-06-22 16:04 UTC (permalink / raw)
To: richard.purdie; +Cc: yocto, poky, saul.wold
The arch mapping done in kernel-arch should be used instead of
recipe local mapping. Inheriting kernel-arch consolidates the
code and simplifies the libc-header recipe.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
| 17 +++--------------
1 files changed, 3 insertions(+), 14 deletions(-)
--git a/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
index 756b596..831e452 100644
--- a/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
+++ b/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
@@ -20,25 +20,14 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;
# building a device tree as part of kern headers
KERNEL_DEVICETREE = ""
-set_arch() {
- case ${TARGET_ARCH} in
- arm*) ARCH=arm ;;
- i*86*) ARCH=i386 ;;
- ia64*) ARCH=ia64 ;;
- mips*) ARCH=mips ;;
- powerpc*) ARCH=powerpc ;;
- x86_64*) ARCH=x86_64 ;;
- esac
-}
+inherit kernel-arch
do_configure() {
- set_arch
- oe_runmake allnoconfig ARCH=$ARCH
+ oe_runmake allnoconfig
}
do_install() {
- set_arch
- oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
+ oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}
# The ..install.cmd conflicts between various configure runs
find ${D}${includedir} -name ..install.cmd | xargs rm -f
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] linux-libc-headers-yocto: update to v3.4 and remove unecessary code
2012-06-22 16:04 [PATCH 0/2] linux-libc-headers-yocto: 3.4 and cleanups Bruce Ashfield
2012-06-22 16:04 ` [PATCH 1/2] linux-libc-headers-yocto: use kernel-arch to set ARCH Bruce Ashfield
@ 2012-06-22 16:04 ` Bruce Ashfield
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2012-06-22 16:04 UTC (permalink / raw)
To: richard.purdie; +Cc: yocto, poky, saul.wold
Updating the linux-libc-headers-yocto recipe to 3.4. There are blocks
of code and definitions that are handled by the included libc-headers.inc,
so we shouldn't be repeating them in this recipe.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
| 32 ++++---------------
1 files changed, 7 insertions(+), 25 deletions(-)
--git a/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
index 831e452..b4222f1 100644
--- a/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
+++ b/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
@@ -3,18 +3,17 @@ include recipes-kernel/linux/linux-yocto.inc
B = "${S}"
-INHIBIT_DEFAULT_DEPS = "1"
-DEPENDS += "unifdef-native"
PROVIDES = "linux-libc-headers"
RPROVIDES_${PN}-dev = "linux-libc-headers-dev"
RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg"
-SRCREV = "21ab5dca134a6bf1316aa59f69f9ee9e091d5702"
-KBRANCH ?= "standard/base"
-KMETA ?= "meta"
-PV = "3.2+git-${SRCPV}"
-PR = "r5"
-SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
+KBRANCH = "standard/base"
+SRCREV = "a1cdb60720c452c3965eaec3ec2cd10f06261cc5"
+
+PV = "3.4+git-${SRCPV}"
+PR = "r6"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
# force this to empty to prevent installation failures, we aren't
# building a device tree as part of kern headers
@@ -22,17 +21,6 @@ KERNEL_DEVICETREE = ""
inherit kernel-arch
-do_configure() {
- oe_runmake allnoconfig
-}
-
-do_install() {
- oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}
-
- # The ..install.cmd conflicts between various configure runs
- find ${D}${includedir} -name ..install.cmd | xargs rm -f
-}
-
# The following tasks are not required when we just want
# headers. So we override and stub them out.
do_kernel_configme() {
@@ -41,12 +29,6 @@ do_kernel_configme() {
do_patch () {
}
-do_compile () {
-}
-
-do_validate_branches () {
-}
-
do_kernel_configcheck () {
}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-22 15:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22 16:04 [PATCH 0/2] linux-libc-headers-yocto: 3.4 and cleanups Bruce Ashfield
2012-06-22 16:04 ` [PATCH 1/2] linux-libc-headers-yocto: use kernel-arch to set ARCH Bruce Ashfield
2012-06-22 16:04 ` [PATCH 2/2] linux-libc-headers-yocto: update to v3.4 and remove unecessary code Bruce Ashfield
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.