All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] linux: fix breakage from d4b2b032a00c9922c9efa144b014dc086a7e48f1
@ 2014-12-24 13:54 Gustavo Zacarias
  2014-12-26 12:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2014-12-24 13:54 UTC (permalink / raw)
  To: buildroot

Unbreak qemu_xtensa_lx60_defconfig where LINUX_IMAGE_NAME !=
LINUX_TARGET_NAME.
It incorrectly overwrites LINUX_IMAGE_NAME even if it was set before,
defeating the purpose of IMAGE being different than TARGET.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 linux/linux.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux/linux.mk b/linux/linux.mk
index be66fb5..680521c 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -82,7 +82,9 @@ KERNEL_DTBS = $(addsuffix .dtb,$(KERNEL_DTS_NAME))
 ifeq ($(BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM),y)
 LINUX_IMAGE_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_NAME))
 LINUX_TARGET_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_TARGET_NAME))
+ifeq ($(LINUX_IMAGE_NAME),)
 LINUX_IMAGE_NAME = $(LINUX_TARGET_NAME)
+endif
 else
 ifeq ($(BR2_LINUX_KERNEL_UIMAGE),y)
 LINUX_IMAGE_NAME = uImage
-- 
2.0.5

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

* [Buildroot] [PATCH] linux: fix breakage from d4b2b032a00c9922c9efa144b014dc086a7e48f1
  2014-12-24 13:54 [Buildroot] [PATCH] linux: fix breakage from d4b2b032a00c9922c9efa144b014dc086a7e48f1 Gustavo Zacarias
@ 2014-12-26 12:42 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-12-26 12:42 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Wed, 24 Dec 2014 10:54:55 -0300, Gustavo Zacarias wrote:
> Unbreak qemu_xtensa_lx60_defconfig where LINUX_IMAGE_NAME !=
> LINUX_TARGET_NAME.
> It incorrectly overwrites LINUX_IMAGE_NAME even if it was set before,
> defeating the purpose of IMAGE being different than TARGET.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  linux/linux.mk | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

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

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

end of thread, other threads:[~2014-12-26 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-24 13:54 [Buildroot] [PATCH] linux: fix breakage from d4b2b032a00c9922c9efa144b014dc086a7e48f1 Gustavo Zacarias
2014-12-26 12:42 ` Thomas Petazzoni

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.