From 6fbc09e57a5aea56bf04a44daf1cd89c79863b6b Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 20 Apr 2012 18:11:30 -0300 Subject: [PATCH] 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 Signed-off-by: Otavio Salvador --- meta-fsl-arm/recipes-bsp/elftosb/elftosb_10.12.01.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-fsl-arm/recipes-bsp/elftosb/elftosb_10.12.01.bb b/meta-fsl-arm/recipes-bsp/elftosb/elftosb_10.12.01.bb index ebfd4f28..550c65c3 100644 --- a/meta-fsl-arm/recipes-bsp/elftosb/elftosb_10.12.01.bb +++ b/meta-fsl-arm/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} -- 2.40.1