summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2019-03-06 10:55:07 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-03-07 10:51:50 +0100
commit844bcd2c6cff55f744165faba51f79355e691e09 (patch)
treeb6b28eb519014897cf49ec9f89a8f6dd56b63cc0
parentdaaf1fa9ccd965666e41111c763b8fba85057bdd (diff)
downloadmeta-phytec-844bcd2c6cff55f744165faba51f79355e691e09.tar.bz2
meta-phytec-844bcd2c6cff55f744165faba51f79355e691e09.zip
recipes-bsp: barebox-targettools: Remove Wl prefix from LDFLAGS
The LDFLAGS variable already contains the Wl prefix for the linkerflags so we need to drop the Wl prefix in the recipe. Besides, the current Wl prefix would only work for a single linker flag anyway. Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-bsp/barebox/barebox-targettools_2016.07.0-phy4.bb2
-rw-r--r--recipes-bsp/barebox/barebox-targettools_2016.11.0-phy4.bb2
-rw-r--r--recipes-bsp/barebox/barebox-targettools_2017.10.0-phy3.bb2
-rw-r--r--recipes-bsp/barebox/barebox-targettools_2017.12.0-phy3.bb2
4 files changed, 4 insertions, 4 deletions
diff --git a/recipes-bsp/barebox/barebox-targettools_2016.07.0-phy4.bb b/recipes-bsp/barebox/barebox-targettools_2016.07.0-phy4.bb
index 8055d88..21b95af 100644
--- a/recipes-bsp/barebox/barebox-targettools_2016.07.0-phy4.bb
+++ b/recipes-bsp/barebox/barebox-targettools_2016.07.0-phy4.bb
@@ -6,7 +6,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/barebox/:"
PR = "${INC_PR}.0"
-export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} -Wl,${LDFLAGS}"
+export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} ${LDFLAGS}"
do_configure_append() {
# Compile target tools for barebox
diff --git a/recipes-bsp/barebox/barebox-targettools_2016.11.0-phy4.bb b/recipes-bsp/barebox/barebox-targettools_2016.11.0-phy4.bb
index 8055d88..21b95af 100644
--- a/recipes-bsp/barebox/barebox-targettools_2016.11.0-phy4.bb
+++ b/recipes-bsp/barebox/barebox-targettools_2016.11.0-phy4.bb
@@ -6,7 +6,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/barebox/:"
PR = "${INC_PR}.0"
-export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} -Wl,${LDFLAGS}"
+export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} ${LDFLAGS}"
do_configure_append() {
# Compile target tools for barebox
diff --git a/recipes-bsp/barebox/barebox-targettools_2017.10.0-phy3.bb b/recipes-bsp/barebox/barebox-targettools_2017.10.0-phy3.bb
index 8055d88..21b95af 100644
--- a/recipes-bsp/barebox/barebox-targettools_2017.10.0-phy3.bb
+++ b/recipes-bsp/barebox/barebox-targettools_2017.10.0-phy3.bb
@@ -6,7 +6,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/barebox/:"
PR = "${INC_PR}.0"
-export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} -Wl,${LDFLAGS}"
+export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} ${LDFLAGS}"
do_configure_append() {
# Compile target tools for barebox
diff --git a/recipes-bsp/barebox/barebox-targettools_2017.12.0-phy3.bb b/recipes-bsp/barebox/barebox-targettools_2017.12.0-phy3.bb
index 8055d88..21b95af 100644
--- a/recipes-bsp/barebox/barebox-targettools_2017.12.0-phy3.bb
+++ b/recipes-bsp/barebox/barebox-targettools_2017.12.0-phy3.bb
@@ -6,7 +6,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/barebox/:"
PR = "${INC_PR}.0"
-export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} -Wl,${LDFLAGS}"
+export TARGETCFLAGS="${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS} ${LDFLAGS}"
do_configure_append() {
# Compile target tools for barebox