Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Jeremy Lainé" <jeremy.laine@bolloretelecom.eu>
To: openembedded-devel@lists.openembedded.org
Subject: conf/kernel.bbclass: staging for linux >= 2.6.24 on x86 needs fixing
Date: Tue, 19 Feb 2008 09:15:30 +0100	[thread overview]
Message-ID: <47BA9022.6020105@bolloretelecom.eu> (raw)

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Up until linux 2.6.23, for x86 archs we put arch/i386/Makefile* into
staging, but it looks as though from 2.6.24 onwards we should be
staging arch/x86/Makefile* instead.

The attached patch works for me, but I am not sure this is the proper
way to fix this as it introduces some arch-specific code in an
otherwise generic bbclass. Any ideas?

- --
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHupAhCL1n3lVB9EYRAmRUAKCR+/e08cu/urfTF95EnozeCR8jSACfRyp5
jZZL3udH5hCT9qJfPazNSrY=
=U720
-----END PGP SIGNATURE-----


[-- Attachment #2: kernel-bbclass-x86.diff --]
[-- Type: text/x-diff, Size: 938 bytes --]

# 
# old_revision [8b854b2b358a134500f7b4e1826c4fab2dc417ed]
# 
# patch "classes/kernel.bbclass"
#  from [3aa638c9a8de8e90342e08b530a40c8c2f120497]
#    to [7b688b82d6be204068a4bdbb29bd16cfb63d7b2f]
# 
============================================================
--- classes/kernel.bbclass	3aa638c9a8de8e90342e08b530a40c8c2f120497
+++ classes/kernel.bbclass	7b688b82d6be204068a4bdbb29bd16cfb63d7b2f
@@ -128,6 +128,9 @@ kernel_do_stage() {
 	if [ -e arch/${ARCH}/Makefile ]; then
 		install -d ${STAGING_KERNEL_DIR}/arch/${ARCH}
 		install -m 0644 arch/${ARCH}/Makefile* ${STAGING_KERNEL_DIR}/arch/${ARCH}
+	elif [ "${ARCH}" = "i386" -a -e arch/x86/Makefile ]; then
+		install -d ${STAGING_KERNEL_DIR}/arch/x86
+		install -m 0644 arch/x86/Makefile* ${STAGING_KERNEL_DIR}/arch/x86
 	fi
 	cp -fR include/config* ${STAGING_KERNEL_DIR}/include/	
 	install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE}

[-- Attachment #3: kernel-bbclass-x86.diff.sig --]
[-- Type: application/octet-stream, Size: 65 bytes --]

             reply	other threads:[~2008-02-19  8:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19  8:15 Jeremy Lainé [this message]
2008-02-19  9:16 ` conf/kernel.bbclass: staging for linux >= 2.6.24 on x86 needs fixing Richard Purdie
2008-02-19  9:33   ` Jeremy Lainé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47BA9022.6020105@bolloretelecom.eu \
    --to=jeremy.laine@bolloretelecom.eu \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox