[Buildroot] linux-2.6.21.5-003-atmel.1-avr32-updates.patch failes

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Tue Jul 31 20:19:13 UTC 2007


On Tue, 31 Jul 2007, Cristian Ionescu-Idbohrn wrote:

> Preceeded by this:
>
> Applying linux-2.6.21.5-002-lzma-vmlinuz.01.patch using plaintext:
> patching file arch/i386/boot/compressed/Makefile
> patching file scripts/gen_lzma_initramfs_list.sh
> patching file arch/i386/boot/compressed/lzma_misc.c
> patching file scripts/Makefile.lib
>
> Applying linux-2.6.21.5-003-atmel.1-avr32-updates.patch using plaintext:
> patching file MAINTAINERS
> patching file Makefile
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
>
> On Tue, 31 Jul 2007, Cristian Ionescu-Idbohrn wrote:
>
> > Patch failed!  Please fix linux-2.6.21.5-003-atmel.1-avr32-updates.patch!
> > make: *** [buildroot/build_i486/linux-2.6.21.5/.patched] Error 1
>
> Conflicts between linux-2.6.21.5-002-lzma-vmlinuz.01.patch and
> linux-2.6.21.5-003-atmel.1-avr32-updates.patch?

Questions:

Is it really necessary to apply these patches? Even though .config shows?

# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
# BR2_avr32 is not set
# BR2_TOOLCHAIN_ATMEL_AVR32 is not set

Wouldn't it be a good idea for each successfully applied patch to have a
target and a prequisite?

<patch name>: <patch name>.done

so that, if a patch fails and is fixed on the spot, remake skipps the
already applied patches?


Cheers,

-- 
Cristian



More information about the buildroot mailing list