Skip to contentSkip to conversation

Fix u-boot 2010.03 build for AVR32

PATCH New Thiago A. Corrêa 2 participants 3 messages Jun 23, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix u-boot 2010.03 build for AVR32

Hi,

The following patch fixes the "error: asm/unaligned.h: No such
file or directory" while building u-boot for avr32.

It's also available for pull from:
git://github.com/correa/Buildroot.git u-boot-avr32-fixes

Thanks,
Thiago A. Correa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-u-boot-2010.03-build-for-AVR32-targets.patch
Type: application/octet-stream
Size: 1785 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100623/bdb3975e/attachment.obj>

#1 lore raw

PATCH 1/1 Fix u-boot 2010.03 build for AVR32

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

Thiago> Hi,
Thiago> The following patch fixes the "error: asm/unaligned.h: No such
Thiago> file or directory" while building u-boot for avr32.

Thanks. Did you intend to make those changes in target/device/Atmel/Makefile.in? If so, please describe in the commit message why.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 Fix u-boot 2010.03 build for AVR32

Hi Peter,

2010/6/23 Peter Korsgaard <[email protected]>:

Quoted 4 lines

Thanks. Did you intend to make those changes in target/device/Atmel/Makefile.in? If so, please describe in the commit message why.

Yes, it is intentional. It simply breaks the value of $(U_BOOT_VERSION) at the boot/u-boot/u-boot.mk, and prevents the patch from applying. I grep'ed the whole source and there were no mention of $(BR2_UBOOT_VERSION), this is probably an old Config.in variable name. Also, UBOOT_CONFIG and UBOOT_CONFIG_FILE are not used (anymore?)

I think the entiere target/deviceAtmel/Makefile.in is broken. It also prevents me from specifying my own custom linux .config, as it overrides the value I set in Kconfig with it's own.

Kind Regards,
Thiago A. Correa