diff options
Diffstat (limited to 'meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-examples-qos_sched-fix-makefile.patch')
-rw-r--r-- | meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-examples-qos_sched-fix-makefile.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-examples-qos_sched-fix-makefile.patch b/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-examples-qos_sched-fix-makefile.patch new file mode 100644 index 00000000..47b5ece7 --- /dev/null +++ b/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-examples-qos_sched-fix-makefile.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From ea9a59b26c3c86b498337e968ee8f68c4e263614 Mon Sep 17 00:00:00 2001 | ||
2 | From: Olivier Matz <olivier.matz@6wind.com> | ||
3 | Date: Fri, 16 May 2014 10:18:59 +0200 | ||
4 | Subject: [PATCH] examples/qos_sched: fix makefile | ||
5 | |||
6 | Upstream-Status: backport | ||
7 | Imported patch from: http://dpdk.org/browse/dpdk/log/ | ||
8 | |||
9 | The example does not compile as the linker complains about duplicated | ||
10 | symbols. | ||
11 | |||
12 | Remove -lsched from LDLIBS, it is already present in rte.app.mk and | ||
13 | added by the DPDK framework automatically. | ||
14 | |||
15 | Signed-off-by: Olivier Matz <olivier.matz@6wind.com> | ||
16 | Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com> | ||
17 | Signed-off-by: Chan Wei Sern <wei.sern.chan@intel.com> | ||
18 | --- | ||
19 | examples/qos_sched/Makefile | 2 -- | ||
20 | 1 file changed, 2 deletions(-) | ||
21 | |||
22 | diff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile | ||
23 | index b91fe37..9366efe 100755 | ||
24 | --- a/examples/qos_sched/Makefile | ||
25 | +++ b/examples/qos_sched/Makefile | ||
26 | @@ -54,6 +54,4 @@ CFLAGS += $(WERROR_FLAGS) | ||
27 | CFLAGS_args.o := -D_GNU_SOURCE | ||
28 | CFLAGS_cfg_file.o := -D_GNU_SOURCE | ||
29 | |||
30 | -LDLIBS += -lrte_sched | ||
31 | - | ||
32 | include $(RTE_SDK)/mk/rte.extapp.mk | ||
33 | -- | ||
34 | 1.9.1 | ||
35 | |||