mqxboot: prevent oe qa error, gnu_hash

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
This commit is contained in:
Max Krummenacher 2022-06-23 10:50:37 +02:00
parent 7e2e2d8fa4
commit 28aac376f9
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 368ee177806f15194acf352c83f64ba697a613ac Mon Sep 17 00:00:00 2001
From: Max Krummenacher <max.krummenacher@toradex.com>
Date: Thu, 23 Jun 2022 08:46:14 +0000
Subject: [PATCH] Makefile: use OE ldflags
Prevents QA error about missing GNU_HASH in the binary.
Upstream-Status: Pending
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 37da46f..74cf280 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ all: build/mqxboot
build/mqxboot: src/mqxboot.c
mkdir -p build/
- $(CC) $< -o $@ $(CFLAGS)
+ $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS)
install:
mkdir -p $(INSTALL_PATH)
--
2.20.1

View File

@ -6,7 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d \
DEPENDS = "virtual/kernel-module-mcc" DEPENDS = "virtual/kernel-module-mcc"
SRC_URI = "http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2" SRC_URI = " \
http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2 \
file://0001-Makefile-use-OE-ldflags.patch \
"
SRC_URI[md5sum] = "f74755548041d50ca178448ee3e478d4" SRC_URI[md5sum] = "f74755548041d50ca178448ee3e478d4"
SRC_URI[sha256sum] = "32444409de5e809b9347e275a3bf78623a89e9ecce3188ebac79318b2b7c39b3" SRC_URI[sha256sum] = "32444409de5e809b9347e275a3bf78623a89e9ecce3188ebac79318b2b7c39b3"