linux: fix fallout from c78d57637cd57a383e44713eb27e654b3071340e
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 17 Jul 2014 19:55:08 +0000 (16:55 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Jul 2014 20:57:29 +0000 (22:57 +0200)
The new variable LINUX_TARGET_NAME is unconditionally used but it may be
unset leading to a default kernel build (which might not be uImage or
other requested format).
See http://lists.busybox.net/pipermail/buildroot/2014-July/102069.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/linux.mk

index 928d93dfcfc3d501833838787b1742cef6e0b52c..2a9bf3e55f3c854aaaabd239fdfb00879f781dd9 100644 (file)
@@ -106,7 +106,9 @@ LINUX_IMAGE_NAME = vmlinux
 else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
 LINUX_IMAGE_NAME = vmlinuz
 endif
+LINUX_TARGET_NAME = $(LINUX_IMAGE_NAME)
 endif
+
 ifeq ($(LINUX_IMAGE_NAME),)
 LINUX_IMAGE_NAME = $(LINUX_TARGET_NAME)
 endif