[meta-freescale] [meta-fsl-ppc][PATCH] mux-server: Fix build warnings caused by external toolchain

Sujith Haridasan sujith.h at gmail.com
Wed Apr 27 04:32:50 PDT 2016


This patch resolves the warning:
QA Issue: No GNU_HASH in the elf binary
caused by external toolchain sourcery.

Signed-off-by: Sujith H <sujith.h at gmail.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan at mentor.com>
---
 ...001-Makefile-Fix-the-warning-during-build.patch | 31 ++++++++++++++++++++++
 .../mux-server/mux-server_1.02.bb                  |  4 ++-
 2 files changed, 34 insertions(+), 1 deletion(-)
 create mode 100644 recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch

diff --git a/recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch b/recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch
new file mode 100644
index 0000000..32b0f19
--- /dev/null
+++ b/recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch
@@ -0,0 +1,31 @@
+From bcb58c751a7ff82095642d2c9424a7ae18bca3c6 Mon Sep 17 00:00:00 2001
+From: Sujith Haridasan <Sujith_Haridasan at mentor.com>
+Date: Wed, 27 Apr 2016 16:49:09 +0530
+Subject: [PATCH] Makefile: Fix the warning during build
+
+Fix QA Issue: No GNU_HASH in the elf binary
+This warning is caused when built with external
+toolchain sourcery.
+
+Signed-off-by: Sujith H <sujith.h at gmail.com>
+Signed-off-by: Sujith Haridasan <Sujith_Haridasan at mentor.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index c41030d..fa69b6f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -36,7 +36,7 @@ HOSTCC_OPTS_C= -Wall \
+ all: mux_server
+ 
+ mux_server: mux_server.c
+-	$(HOSTCC) $(HOSTCC_OPTS) $(HOSTCC_OPTS_C) -o $@ $< -lpthread
++	$(HOSTCC) $(HOSTCC_OPTS) $(HOSTCC_OPTS_C) -o $@ $< -lpthread ${LDFLAGS}
+ 
+ clean:
+ 	rm -f mux_server
+-- 
+1.9.1
+
diff --git a/recipes-virtualization/mux-server/mux-server_1.02.bb b/recipes-virtualization/mux-server/mux-server_1.02.bb
index 744a84c..680ea08 100644
--- a/recipes-virtualization/mux-server/mux-server_1.02.bb
+++ b/recipes-virtualization/mux-server/mux-server_1.02.bb
@@ -3,7 +3,9 @@ SECTION = "mux-server"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/hypervisor/mux_server.git;branch=master"
+SRC_URI = "git://git.freescale.com/ppc/sdk/hypervisor/mux_server.git;branch=master \
+           file://0001-Makefile-Fix-the-warning-during-build.patch \
+          "
 SRCREV = "3e4c6a44a81bb5cf2996830e8034d26850f80efc"
 
 S = "${WORKDIR}/git"
-- 
1.9.1



More information about the meta-freescale mailing list