Skip to contentSkip to conversation

Fix compiling error of uclibc-initial-0.9.30.1 due to incorrect uClibc.machine for qemumips

PATCH In review Guo Hongruan 3 participants 4 messages Jan 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compiling error of uclibc-initial-0.9.30.1 due to incorrect uClibc.machine for qemumips

1. Add mips entry for linux-uclibc into package_qa_get_machine_dict of insane.bbclass. Without it the insance check will fail due to key miss exception.
2. Rewrite the complete qemumips/uClibc.machine, In the previous one, the TARGET_ARCH is set i386 (not mips).

---
 classes/insane.bbclass                             |    1 +
 .../uclibc/uclibc-0.9.30.1/qemumips/uClibc.machine |   49 +++++++++-----------
 2 files changed, 23 insertions(+), 27 deletions(-)
classes/insane.bbclass +1 -0
index 495c3a5..804caf0 100644
@@ -61,6 +61,7 @@ def package_qa_get_machine_dict():
                         "i486":       (   3,     0,    0,          True,          True),
                         "i586":       (   3,     0,    0,          True,          True),
                         "i686":       (   3,     0,    0,          True,          True),
+                        "mips":       (   8,     0,    0,          False,         True),
                         "mipsel":     (   8,     0,    0,          True,          True),
                         "avr32":      (6317,     0,    0,          False,         True),
 			"sh4":        (42,	 0,    0,          True,          True),
recipes/uclibc/uclibc-0.9.30.1/qemumips/uClibc.machine +22 -27

87 lines not on this page · raw message

Signature · 1 line
1.5.4.3
#1 lore raw
Quoted 7 lines · On Saturday 02 January 2010 08:34:34 Guo Hongruan wrote:

1. Add mips entry for linux-uclibc into package_qa_get_machine_dict of insane.bbclass. Without it the insance check will fail due to key miss exception.

2. Rewrite the complete qemumips/uClibc.machine, In the previous one, the TARGET_ARCH is set i386 (not mips). ---

 classes/insane.bbclass                             |    1 +

Please split up the patch as there is no relationship between the two things. The first one is a nice catch and I thought we already had this. I can't comment on the second one.

The other bit is... use "Signed-off-by:" on your patches if you want them included in OE. Only if you use the above they will show up in patchwork.openembedded.org which people go through to look at outstanding patches...

thanks

	z.!

PS: keep up the nice work :)

#2 lore raw

Hi,

Quoted 11 lines · 在 Sat, 02 Jan 2010 16:35:04 +0800,Holger Hans Peter Freyther…
Quoted 7 lines · On Saturday 02 January 2010 08:34:34 Guo Hongruan wrote:

1. Add mips entry for linux-uclibc into package_qa_get_machine_dict of insane.bbclass. Without it the insance check will fail due to key miss exception.

2. Rewrite the complete qemumips/uClibc.machine, In the previous one, the TARGET_ARCH is set i386 (not mips). ---

 classes/insane.bbclass                             |    1 +

Please split up the patch as there is no relationship between the two things.

Sorry, I will. I found these bugs using the same test case.

Quoted 2 lines

The first one is a nice catch and I thought we already had this. I can't comment on the second one.

The second patch is obvious. The qemumips/uClibc.machine was copied from qemux86/uClibc.machine without any modification. It causes the building for qemumips + uclibc failed.

Quoted 5 lines

The other bit is... use "Signed-off-by:" on your patches if you want them included in OE. Only if you use the above they will show up in patchwork.openembedded.org which people go through to look at outstanding patches...

Signed-off-by? How to do it. Could you give me some links about this topics? I will google it

Quoted 10 lines

thanks

	z.!

PS: keep up the nice work :)

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 4 lines
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
#3 lore raw

signed-off procedure (was: [PATCH] Fix compiling error of uclibc-initial-0.9.30.1 due to incorrect uClibc.machine for qemumips)

Dear Guo,

Am Samstag, den 02.01.2010, 16:42 +0800 schrieb Guo Hongruan:

Quoted 2 lines

在 Sat, 02 Jan 2010 16:35:04 +0800,Holger Hans Peter Freyther <[email protected]> 写道:

[…]

Quoted 6 lines
Quoted 4 lines

The other bit is... use "Signed-off-by:" on your patches if you want them included in OE. Only if you use the above they will show up in patchwork.openembedded.org which people go through to look at outstanding patches...

Signed-off-by? How to do it.

Just add a line

Signed-off-by name <email>

below the commit message. In Git you can specify to do this automatically most of the time with the »-s« parameter, for example when you commit something or format a patch.

Quoted 1 line

Could you give me some links about this topics? I will google it

The coreboot project took this also over from Linux [1]. I did not find a link to where the recent Linux procedure is described. Basically if you sign off a patch, you will say that you are complying with the project rules and license terms so that it can be included.

[…]

Bests,

Paul

[1] http://www.coreboot.org/Development_Guidelines#Sign-off_Procedure