Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] Fix barebox compilation issue with 64bit kernel
@ 2015-03-03 12:27 Lahoudere Fabien
  2015-03-03 13:31 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Lahoudere Fabien @ 2015-03-03 12:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Lahoudere Fabien <fabienlahoudere.pro@gmail.com>
---
 boot/barebox/barebox.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
index 0fb7cec..626ff9a 100644
--- a/boot/barebox/barebox.mk
+++ b/boot/barebox/barebox.mk
@@ -41,6 +41,8 @@ endif
 
 ifeq ($(KERNEL_ARCH),i386)
 BAREBOX_ARCH = x86
+else ifeq ($(KERNEL_ARCH),x86_64)
+BAREBOX_ARCH = x86
 else ifeq ($(KERNEL_ARCH),powerpc)
 BAREBOX_ARCH = ppc
 else
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] Fix barebox compilation issue with 64bit kernel
  2015-03-03 12:27 [Buildroot] [PATCH 1/1] Fix barebox compilation issue with 64bit kernel Lahoudere Fabien
@ 2015-03-03 13:31 ` Thomas Petazzoni
  2015-03-03 14:25   ` Fabien Lahoudere
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-03-03 13:31 UTC (permalink / raw)
  To: buildroot

Dear Lahoudere Fabien,

On Tue,  3 Mar 2015 13:27:53 +0100, Lahoudere Fabien wrote:
> Signed-off-by: Lahoudere Fabien <fabienlahoudere.pro@gmail.com>

This should normally be:

	Signed-off-by: <first name> <last name> <email>

> ---
>  boot/barebox/barebox.mk | 2 ++
>  1 file changed, 2 insertions(+)

This looks good but the commit log could be improved:

	barebox: fix compilation on x86-64 architecture

	Barebox uses KERNEL_ARCH to derive BAREBOX_ARCH, but doesn't
	currently handle the case of the x86-64 architecture. In this
	case KERNEL_ARCH is x86_64, but BAREBOX_ARCH should be x86
	nonetheless.

The commit title should almost always look like:

	<pkg>: <description>

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] Fix barebox compilation issue with 64bit kernel
  2015-03-03 13:31 ` Thomas Petazzoni
@ 2015-03-03 14:25   ` Fabien Lahoudere
  0 siblings, 0 replies; 3+ messages in thread
From: Fabien Lahoudere @ 2015-03-03 14:25 UTC (permalink / raw)
  To: buildroot

Hello

Thank you for the correction.
I will rework my patch but I have questions:
- If I change the title, and submit a new patch, what happened to the
old one in the patchwork?
- Is it necessary to prefix the new title with "PATCH v2"?

Fabien

Le 03/03/2015 14:31, Thomas Petazzoni a ?crit :
> Dear Lahoudere Fabien,
>
> On Tue,  3 Mar 2015 13:27:53 +0100, Lahoudere Fabien wrote:
>> Signed-off-by: Lahoudere Fabien <fabienlahoudere.pro@gmail.com>
> This should normally be:
>
> 	Signed-off-by: <first name> <last name> <email>
>
>> ---
>>   boot/barebox/barebox.mk | 2 ++
>>   1 file changed, 2 insertions(+)
> This looks good but the commit log could be improved:
>
> 	barebox: fix compilation on x86-64 architecture
>
> 	Barebox uses KERNEL_ARCH to derive BAREBOX_ARCH, but doesn't
> 	currently handle the case of the x86-64 architecture. In this
> 	case KERNEL_ARCH is x86_64, but BAREBOX_ARCH should be x86
> 	nonetheless.
>
> The commit title should almost always look like:
>
> 	<pkg>: <description>
>
> Thanks,
>
> Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-03 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 12:27 [Buildroot] [PATCH 1/1] Fix barebox compilation issue with 64bit kernel Lahoudere Fabien
2015-03-03 13:31 ` Thomas Petazzoni
2015-03-03 14:25   ` Fabien Lahoudere

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox