aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2019-08-30 20:58:55 +0200
committerGitHub <noreply@github.com>2019-08-30 20:58:55 +0200
commit9879a74c9319d0afed9c21258669b7064eb62db6 (patch)
tree9159a4de10ceebf5ac4114da8274d778294d3f9b
parente5c3bc9c34a348cadb3806a0019302efd131ac72 (diff)
parent33644274f258a5fc2156d0acab0d2715c33943ce (diff)
downloadmeta-qcom-9879a74c9319d0afed9c21258669b7064eb62db6.tar.gz
meta-qcom-9879a74c9319d0afed9c21258669b7064eb62db6.tar.bz2
meta-qcom-9879a74c9319d0afed9c21258669b7064eb62db6.zip
Merge pull request #114 from YoeDistro/yoe/mut
qdl: Fix QA Issue: No GNU_HASH in the ELF binary
-rw-r--r--recipes-devtools/qdl/files/0001-Makefile-Use-pkg-config-for-libxml2-detection.patch22
1 files changed, 13 insertions, 9 deletions
diff --git a/recipes-devtools/qdl/files/0001-Makefile-Use-pkg-config-for-libxml2-detection.patch b/recipes-devtools/qdl/files/0001-Makefile-Use-pkg-config-for-libxml2-detection.patch
index d5f63c4..2aca181 100644
--- a/recipes-devtools/qdl/files/0001-Makefile-Use-pkg-config-for-libxml2-detection.patch
+++ b/recipes-devtools/qdl/files/0001-Makefile-Use-pkg-config-for-libxml2-detection.patch
@@ -12,20 +12,24 @@ Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-diff --git a/Makefile b/Makefile
-index 0a934ff..f18393d 100644
--- a/Makefile
+++ b/Makefile
-@@ -1,7 +1,7 @@
+@@ -1,14 +1,14 @@
OUT := qdl
-CFLAGS := -O2 -Wall -g `xml2-config --cflags`
-LDFLAGS := `xml2-config --libs` -ludev
-+CFLAGS := -O2 -Wall -g `pkg-config --cflags libxml-2.0`
-+LDFLAGS := `pkg-config --libs libxml-2.0` -ludev
- prefix := /usr/local
+-prefix := /usr/local
++CFLAGS += -O2 -Wall -g `pkg-config --cflags libxml-2.0`
++LDFLAGS += `pkg-config --libs libxml-2.0` -ludev
++prefix ?= /usr/local
SRCS := firehose.c qdl.c sahara.c util.c patch.c program.c ufs.c
---
-2.23.0
-
+ OBJS := $(SRCS:.c=.o)
+
+ $(OUT): $(OBJS)
+- $(CC) -o $@ $^ $(LDFLAGS)
++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+ clean:
+ rm -f $(OUT) $(OBJS)