Patchwork [3/4] arch-armv4.inc: On armv4 add --fix-v4bx to linker flags for kernel

login
register
mail settings
Submitter Khem Raj
Date Sept. 6, 2012, 4:35 a.m.
Message ID <d03f827089e5f02d847602cb66394582647a0160.1346905978.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/36019/
State Accepted
Commit 2092e08ba81595c6aaedca8237f6717409eb53b6
Headers show

Comments

Khem Raj - Sept. 6, 2012, 4:35 a.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/machine/include/arm/arch-armv4.inc |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/conf/machine/include/arm/arch-armv4.inc b/meta/conf/machine/include/arm/arch-armv4.inc
index a09c323..cb747ac 100644
--- a/meta/conf/machine/include/arm/arch-armv4.inc
+++ b/meta/conf/machine/include/arm/arch-armv4.inc
@@ -4,6 +4,7 @@  ARMPKGARCH ?= "armv4"
 
 TUNEVALID[armv4] = "Enable instructions for ARMv4"
 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv4", "-march=armv4${ARMPKGSFX_THUMB}", "", d)}"
+TARGET_LD_KERNEL_ARCH += "${@bb.utils.contains("TUNE_FEATURES", "armv4", "--fix-v4bx", "", d)}"
 MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}"
 
 require conf/machine/include/arm/arch-arm.inc