summaryrefslogtreecommitdiff
path: root/target/linux/Makefile.in.advanced
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-05-12 21:15:32 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-05-12 21:15:32 +0000
commitcb0a2e610526fde508fa79d17596e5ea7007082a (patch)
tree56a5fd83161288e7c8ae75e1bd3f1a559ff5f7f9 /target/linux/Makefile.in.advanced
parent714df8fb603c2361aea1052f0fe337977badac68 (diff)
Make linux kernel extension visible also when defined in board directory
Diffstat (limited to 'target/linux/Makefile.in.advanced')
-rw-r--r--target/linux/Makefile.in.advanced10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced
index e3d7fbdbb..d75f2e982 100644
--- a/target/linux/Makefile.in.advanced
+++ b/target/linux/Makefile.in.advanced
@@ -122,37 +122,43 @@ endif
# -----------------------------------------------------------------------------
# Has to be set by the target/device
-ifeq ($(LINUX26_BINLOC),)
# --------------
# VMLINUX
ifeq ($(LINUX26_FORMAT),vmlinux)
+ifeq ($(LINUX26_BINLOC),)
LINUX26_BINLOC:=$(LINUX26_FORMAT)
+endif
KERNEL_EXT:=
endif
# --------------
# UIMAGE
ifeq ($(LINUX26_FORMAT),uImage)
+ifeq ($(LINUX26_BINLOC),)
LINUX26_BINLOC:=arch/$(KERNEL_ARCH)/boot/$(LINUX26_FORMAT)
+endif
KERNEL_EXT:=.gz
endif
# --------------
# ZIMAGE
ifeq ($(LINUX26_FORMAT),zImage)
+ifeq ($(LINUX26_BINLOC),)
LINUX26_BINLOC:=arch/$(KERNEL_ARCH)/boot/$(LINUX26_FORMAT)
+endif
KERNEL_EXT:=.z
endif
# --------------
# BZIMAGE
ifeq ($(LINUX26_FORMAT),bzImage)
+ifeq ($(LINUX26_BINLOC),)
LINUX26_BINLOC:=arch/$(KERNEL_ARCH)/boot/bzImage
+endif
KERNEL_EXT:=.bz
endif
-endif
# -----------------------------------------------------------------------------
# File name for the Linux kernel binary