summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/elftosb
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/elftosb
parentccc40e44f0d493bf30d3d94815a8cb56240d8571 (diff)
downloadmeta-fsl-arm-30385af56bcdf5fbe518909e4be373b8fc15a8fd.tar.gz
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/elftosb')
-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"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=172ede34353056ebec7a597d8459f029" 6LIC_FILES_CHKSUM = "file://COPYING;md5=172ede34353056ebec7a597d8459f029"
7SECTION = "bootloader" 7SECTION = "bootloader"
8PR = "r0" 8PR = "r1"
9BBCLASSEXTEND = "native" 9BBCLASSEXTEND = "native"
10 10
11SRC_URI = "http://repository.timesys.com/buildsources/e/elftosb/elftosb-${PV}.tar.gz" 11SRC_URI = "http://repository.timesys.com/buildsources/e/elftosb/elftosb-${PV}.tar.gz"
12SRC_URI[md5sum] = "e8005d606c1e0bb3507c82f6eceb3056" 12SRC_URI[md5sum] = "e8005d606c1e0bb3507c82f6eceb3056"
13SRC_URI[sha256sum] = "77bb6981620f7575b87d136d94c7daa88dd09195959cc75fc18b138369ecd42b" 13SRC_URI[sha256sum] = "77bb6981620f7575b87d136d94c7daa88dd09195959cc75fc18b138369ecd42b"
14 14
15EXTRA_OEMAKE += "LIBS='-lstdc++ -lm'"
16
15do_install() { 17do_install() {
16 install -d ${D}${bindir} 18 install -d ${D}${bindir}
17 install ${S}/bld/linux/elftosb ${D}${bindir} 19 install ${S}/bld/linux/elftosb ${D}${bindir}