aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/mxsldr/mxsldr_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-09-28 13:18:50 -0700
committerOtavio Salvador <otavio@ossystems.com.br>2018-09-28 17:29:11 -0300
commit9ae826a5ddb318e7f9248cbab426a509c69f1e19 (patch)
tree6be115b565a1d7604e2caadd11175fd290a75232 /recipes-bsp/mxsldr/mxsldr_git.bb
parent16c528880f20c68731e645775d31c7445c95a8db (diff)
downloadmeta-freescale-9ae826a5ddb318e7f9248cbab426a509c69f1e19.tar.gz
meta-freescale-9ae826a5ddb318e7f9248cbab426a509c69f1e19.tar.bz2
meta-freescale-9ae826a5ddb318e7f9248cbab426a509c69f1e19.zip
mxldr: Fix QA errors seen on x86 builds
* Respect OE flags inside makefiles * Its not a autotooled recipe but a simple makefile based one Fixes NOTE: i586-yoe-linux-musl-objdump -p TOPDIR/build/tmp/work/i586-yoe-linux-musl/mxsldr/0.0.0+gitAUTOINC+c40d804725-r0/packages-split/mxsldr/usr/bin/mxsldr ERROR: QA Issue: No GNU_HASH in the elf binary: 'TOPDIR/build/tmp/work/i586-yoe-linux-musl/mxsldr/0.0.0+gitAUTOINC+c40d804725-r0/packages-split/mxsldr/usr/bin/mxsldr' [ldflags] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/mxsldr/mxsldr_git.bb')
-rw-r--r--recipes-bsp/mxsldr/mxsldr_git.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb
index 5c4b874b..a7df725f 100644
--- a/recipes-bsp/mxsldr/mxsldr_git.bb
+++ b/recipes-bsp/mxsldr/mxsldr_git.bb
@@ -7,12 +7,20 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRCREV = "c40d80472525e1d57dae5317c028b745968c0399"
-SRC_URI = "git://git.denx.de/mxsldr.git"
+SRC_URI = "git://git.denx.de/mxsldr.git \
+ file://0001-Do-not-ignore-OE-cflags-and-ldflags.patch \
+ "
PV = "0.0.0+git${SRCPV}"
S = "${WORKDIR}/git"
-inherit autotools-brokensep pkgconfig
+inherit pkgconfig
+do_compile() {
+ oe_runmake
+}
+do_install() {
+ oe_runmake install DESTDIR="${D}"
+}
BBCLASSEXTEND = "native nativesdk"