Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/linux

Buildroot ulf at uclibc.org 1 participant 1 message May 12, 2008

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2008-05-12 14:15:32 -0700 (Mon, 12 May 2008) New Revision: 21975

Log:
Make linux kernel extension visible also when defined in board directory

Modified:
trunk/buildroot/target/linux/Makefile.in.advanced

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in.advanced
===================================================================

buildroot/target/linux/Makefile.in.advanced +8 -2
@@ -122,37 +122,43 @@
 
 # -----------------------------------------------------------------------------
 # 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