summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch')
-rw-r--r--meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch b/meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch
deleted file mode 100644
index 3e88fbddc1..0000000000
--- a/meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Upstream-Status: Pending
2
312/03/2010
4
5add explicit rules for header files generated by lex and yacc,
6otherwise the build of lib/route/pktloc.c may fail in a parallel
7environment.
8
9Signed-off-by: Qing He <qing.he@intel.com>
10
1112/06/2010
12
13the dependency rule should really read pktloc.lo instead of
14pktloc.$(OBJEXT), since it's in a libtool setup.
15
16Signed-off-by: Qing He <qing.he@intel.com>
17
18diff --git a/lib/Makefile.am b/lib/Makefile.am
19index 92a916e..e8b8ef3 100644
20--- a/lib/Makefile.am
21+++ b/lib/Makefile.am
22@@ -35,6 +35,10 @@ route/pktloc_grammar.c: route/pktloc_grammar.l
23 route/pktloc_syntax.c: route/pktloc_syntax.y
24 $(YACC) -d $(YFLAGS) -o $@ $^
25
26+route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h
27+route/pktloc_syntax.h: route/pktloc_syntax.c
28+route/pktloc_grammar.h: route/pktloc_grammar.c
29+
30 libnl_route_la_LDFLAGS = -version-info 2:0:0
31 libnl_route_la_LIBADD = libnl.la
32 libnl_route_la_SOURCES = \