aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-04-20 18:11:30 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2012-04-20 18:15:08 -0300
commit30385af56bcdf5fbe518909e4be373b8fc15a8fd (patch)
tree28c76c8de9e0fdb533bcd03d2209c958f6e7b1a0 /recipes-bsp
parentccc40e44f0d493bf30d3d94815a8cb56240d8571 (diff)
downloadmeta-fsl-arm-30385af56bcdf5fbe518909e4be373b8fc15a8fd.tar.gz
meta-fsl-arm-30385af56bcdf5fbe518909e4be373b8fc15a8fd.tar.bz2
meta-fsl-arm-30385af56bcdf5fbe518909e4be373b8fc15a8fd.zip
elftosb: fix linking failure due missing math's library
To proper link we need to pass LIBS='-lstdc++ -lm' for make, avoiding the need of patching the build system. Reported-by: John Passaniti <jpassaniti@ashly.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/elftosb/elftosb_10.12.01.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/elftosb/elftosb_10.12.01.bb b/recipes-bsp/elftosb/elftosb_10.12.01.bb
index ebfd4f2..550c65c 100644
--- a/recipes-bsp/elftosb/elftosb_10.12.01.bb
+++ b/recipes-bsp/elftosb/elftosb_10.12.01.bb
@@ -5,13 +5,15 @@ DESCRIPTION = "Helper utility for freescale imx platforms"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=172ede34353056ebec7a597d8459f029"
SECTION = "bootloader"
-PR = "r0"
+PR = "r1"
BBCLASSEXTEND = "native"
SRC_URI = "http://repository.timesys.com/buildsources/e/elftosb/elftosb-${PV}.tar.gz"
SRC_URI[md5sum] = "e8005d606c1e0bb3507c82f6eceb3056"
SRC_URI[sha256sum] = "77bb6981620f7575b87d136d94c7daa88dd09195959cc75fc18b138369ecd42b"
+EXTRA_OEMAKE += "LIBS='-lstdc++ -lm'"
+
do_install() {
install -d ${D}${bindir}
install ${S}/bld/linux/elftosb ${D}${bindir}