[Buildroot] [PATCH] Fixed LINUX26_IMAGE_PATH

Thiago A. Corrêa thiago.correa at gmail.com
Wed Jun 30 13:17:37 UTC 2010


Hi,

On Wed, Jun 30, 2010 at 9:03 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
>
> This will break ARM/x86 and many other architectures. Instead, we
> probably need something like:
>
> ifeq ($(KERNEL_ARCH),avr32)
> LINUX26_IMAGE_PATH=$(LINUX26_DIR)/arch/$(KERNEL_ARCH)/boot/images/$(LINUX26_IMAGE_NAME)
> else
> LINUX26_IMAGE_PATH=$(LINUX26_DIR)/arch/$(KERNEL_ARCH)/boot/$(LINUX26_IMAGE_NAME)
> endif
>

I actually had to fix this yesterday for avr32, but I assumed that it
would be valid for all archs, so I didn't do the ifeq in my private
changes.
Sounds good to me.

But this was something that the kernel people changed AFAIK, it might
apply to other targets as well in the future (?). Also, it's a bit
version dependent, older kernels had it built in boot instead of
boot/images

Kind Regards,
    Thiago A. Correa



More information about the buildroot mailing list