diff options
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools/0004-Makefile-fix-libxdp.pc-error.patch')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools/0004-Makefile-fix-libxdp.pc-error.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools/0004-Makefile-fix-libxdp.pc-error.patch b/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools/0004-Makefile-fix-libxdp.pc-error.patch new file mode 100644 index 0000000..b1e15e5 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools/0004-Makefile-fix-libxdp.pc-error.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 46b3ff797135574aa0ee42f633a281d44f48da95 Mon Sep 17 00:00:00 2001 | ||
2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
3 | Date: Mon, 17 Oct 2022 16:05:15 +0800 | ||
4 | Subject: [PATCH 4/4] Makefile: fix libxdp.pc error | ||
5 | |||
6 | Error: | ||
7 | do_populate_sysroot: QA Issue: libxdp.pc failed sanity test (tmpdir) in | ||
8 | path ... xdp-tools/1.2.8-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig] | ||
9 | |||
10 | Upstream-Status: Inappropriate | ||
11 | |||
12 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
13 | --- | ||
14 | lib/libxdp/Makefile | 4 ++-- | ||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile | ||
18 | index 9a340a3..bc39177 100644 | ||
19 | --- a/lib/libxdp/Makefile | ||
20 | +++ b/lib/libxdp/Makefile | ||
21 | @@ -76,8 +76,8 @@ $(OBJDIR)/libxdp.so.$(LIBXDP_VERSION): $(SHARED_OBJS) | ||
22 | $^ $(LDFLAGS) $(LDLIBS) -o $@ | ||
23 | |||
24 | $(OBJDIR)/libxdp.pc: | ||
25 | - $(Q)sed -e "s|@PREFIX@|$(PREFIX)|" \ | ||
26 | - -e "s|@LIBDIR@|$(LIBDIR)|" \ | ||
27 | + $(Q)sed -e "s|@PREFIX@|$(prefix)|" \ | ||
28 | + -e "s|@LIBDIR@|$(libdir)|" \ | ||
29 | -e "s|@VERSION@|$(TOOLS_VERSION)|" \ | ||
30 | < libxdp.pc.template > $@ | ||
31 | |||
32 | -- | ||
33 | 2.25.1 | ||
34 | |||