From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Samuelsson Date: Thu, 8 May 2008 19:22:47 +0200 Subject: [Buildroot] svn commit: trunk/buildroot/target: device/Atmellinux References: <20080416224548.D5D8F3C617@busybox.net> Message-ID: <004401c8b130$9f5fc760$dfc4af0a@Glamdring> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >> @@ -153,29 +149,16 @@ >> # BZIMAGE >> ifeq ($(LINUX26_FORMAT),bzImage) >> LINUX26_BINLOC:=arch/$(KERNEL_ARCH)/boot/bzImage >> -KERNEL_EXT:= >> +KERNEL_EXT:=.bz >> endif > > I have never seen any distro doing this. Why? > >> # ----------------------------------------------------------------------------- >> # File name for the Linux kernel binary >> -ifeq ($(LINUX26_FORMAT),uImage) >> -LINUX26_KERNEL_NAME:="uImage" >> -endif >> -ifeq ($(LINUX26_FORMAT),bzImage) >> -LINUX26_KERNEL_NAME:="bzImage" >> -endif >> -ifeq ($(LINUX26_FORMAT),vmlinux) >> -LINUX26_KERNEL_NAME:="vmlinux" >> -endif >> -ifeq ($(LINUX26_FORMAT),zImage) >> -LINUX26_KERNEL_NAME:="zImage" >> -endif >> -ifeq ($(LINUX26_FORMAT),custom) >> >> LINUX26_KERNEL_NAME:=$(BOARD_NAME)-linux-$(LINUX26_VERSION)-$(DATE)$(KERNEL_EXT) >> -endif > > Why on Earth did you remove John's changes from May 6? One of the reasons I had to create the advanced linux configuration in buildroot was that I wanted to be able to store multiple kernel images in the same directory. John's patch makes this impossible and also makes the image name incompatible with the automatically generated scripts which downloads the kernel to the target. $(BOARD_NAME) needs to be changed to $(PROJECT) though. Best Regards Ulf Samuelsson