From 178695ebe77d37bc61923c6a4e8659f233a3fe17 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Fri, 3 Jun 2016 15:49:31 +0800 Subject: [PATCH] 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. Signed-off-by: Sujith H Signed-off-by: Sujith Haridasan Signed-off-by: Zhenhua Luo Signed-off-by: Otavio Salvador --- ...akefile-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 00000000..32b0f19d --- /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 +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 +Signed-off-by: Sujith Haridasan +--- + 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 744a84c2..83bafaa2 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" -- 2.40.1