[U-Boot] [PATCH 1/2] avr32: fix linking of atstk100x and favr32 boards

When building some avr32 boards out of tree (e.g. O=..) the linker script could not be found. This patch references the linker script in source tree.
Signed-off-by: Andreas Bießmann biessmann@corscience.de --- board/atmel/atstk1000/config.mk | 2 +- board/earthlcd/favr-32-ezkit/config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/atmel/atstk1000/config.mk b/board/atmel/atstk1000/config.mk index ec3618d..40e55fe 100644 --- a/board/atmel/atstk1000/config.mk +++ b/board/atmel/atstk1000/config.mk @@ -1,4 +1,4 @@ PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections PLATFORM_LDFLAGS += --gc-sections TEXT_BASE = 0x00000000 -LDSCRIPT = $(obj)board/atmel/atstk1000/u-boot.lds +LDSCRIPT = $(src)board/atmel/atstk1000/u-boot.lds diff --git a/board/earthlcd/favr-32-ezkit/config.mk b/board/earthlcd/favr-32-ezkit/config.mk index 2337d62..5c919cd 100644 --- a/board/earthlcd/favr-32-ezkit/config.mk +++ b/board/earthlcd/favr-32-ezkit/config.mk @@ -1,4 +1,4 @@ PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections PLATFORM_LDFLAGS += --gc-sections TEXT_BASE = 0x00000000 -LDSCRIPT = $(obj)board/earthlcd/favr-32-ezkit/u-boot.lds +LDSCRIPT = $(src)board/earthlcd/favr-32-ezkit/u-boot.lds

This patch fixes following error:
zlib.c:31:27: error: asm/unaligned.h: No such file or directory
Suggested-by: Mike Frysinger vapier@gentoo.org Signed-off-by: Andreas Bießmann biessmann@corscience.de --- arch/avr32/include/asm/unaligned.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/avr32/include/asm/unaligned.h
diff --git a/arch/avr32/include/asm/unaligned.h b/arch/avr32/include/asm/unaligned.h new file mode 100644 index 0000000..6cecbbb --- /dev/null +++ b/arch/avr32/include/asm/unaligned.h @@ -0,0 +1 @@ +#include <asm-generic/unaligned.h>

Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
In message 1276072140-29939-1-git-send-email-biessmann@corscience.de you wrote:
This patch fixes following error:
zlib.c:31:27: error: asm/unaligned.h: No such file or directory
Suggested-by: Mike Frysinger vapier@gentoo.org Signed-off-by: Andreas Bießmann biessmann@corscience.de
arch/avr32/include/asm/unaligned.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/avr32/include/asm/unaligned.h
Applied to "next", thanks.
Best regards,
Wolfgang Denk

Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
In message 1276072052-29831-1-git-send-email-biessmann@corscience.de you wrote:
When building some avr32 boards out of tree (e.g. O..) the linker script could not be found. This patch references the linker script in source tree.
Signed-off-by: Andreas Bießmann biessmann@corscience.de
board/atmel/atstk1000/config.mk | 2 +- board/earthlcd/favr-32-ezkit/config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to "next" branch. Thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Andreas Bießmann
-
Wolfgang Denk