u-boot-sakoman: fix break caused by the new binutils
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 24 Jan 2011 14:48:58 +0000 (15:48 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 24 Jan 2011 15:01:37 +0000 (16:01 +0100)
commite0ec546d18d38ab31ef2787e092be7f9ceba112c
treee2a53a60364d5766bc413e83e70cf7fe645d977f
parent51d31435b1b627ea66e5bf27cc9e1841228c4f26
u-boot-sakoman: fix break caused by the new binutils

New assemblers need -march=armv7-a+sec on command line or .arch_extension sec
inline to enable use of the smc instruction.

This patch adds as-instr to check the latter to conditionally enable the
former in AFLAGS for files that use smc.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/u-boot/u-boot-sakoman/fix-break-caused-by-new-binutils.patch [new file with mode: 0644]
recipes/u-boot/u-boot-sakoman_git.bb