aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-04-05 21:59:41 -0300
committerGitHub <noreply@github.com>2022-04-05 21:59:41 -0300
commitecbcb80555c470887b9389be803bdc27ab140e1d (patch)
tree7aa88a9168d62bcfa8c4c6368f068614944b2ea7
parente62a9613f7ecf75c18edcde8a6ad114f17470a25 (diff)
parentb964a61d2a3e84864a93aace997a2d019912e09d (diff)
downloadmeta-freescale-honister.tar.gz
meta-freescale-honister.tar.bz2
meta-freescale-honister.zip
Merge pull request #1036 from Freescale/backport-1035-to-honisterhonister
[Backport honister] isp-imx: use bfd linker in case of ld-is-gold DISTRO_FEATURE (gold li…
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb
index 4411c351..5d544ede 100644
--- a/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb
+++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb
@@ -21,6 +21,9 @@ OECMAKE_SOURCEPATH = "${S}/appshell"
# Use make instead of ninja
OECMAKE_GENERATOR = "Unix Makefiles"
+# Workaround for linking issues seen with gold linker
+LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
+
SYSTEMD_SERVICE:${PN} = "imx8-isp.service"
EXTRA_OECMAKE += " \