Skip to contentSkip to conversation

mux-server: Fix build warnings caused by external toolchain

PATCH New Sujith Haridasan 1 participant 1 message Apr 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mux-server: Fix build warnings caused by external toolchain

This patch resolves the warning:
QA Issue: No GNU_HASH in the elf binary
when built with external toolchain.

---
 ...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
recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch new file +31 -0
new file mode 100644
index 0000000..32b0f19
@@ -0,0 +1,31 @@
+From bcb58c751a7ff82095642d2c9424a7ae18bca3c6 Mon Sep 17 00:00:00 2001
+From: Sujith Haridasan <[email protected]>
+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 <[email protected]>
+Signed-off-by: Sujith Haridasan <[email protected]>
+---
+ 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
+
recipes-virtualization/mux-server/mux-server_1.02.bb +3 -1
index 744a84c..680ea08 100644
@@ -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"
Signature · 1 line
1.9.1