summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch10
-rw-r--r--meta/recipes-support/libnl/libnl_2.0.bb2
2 files changed, 10 insertions, 2 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
index d9f00be2b6..214b0dbf76 100644
--- a/meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch
+++ b/meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch
@@ -5,6 +5,14 @@ otherwise the build of lib/route/pktloc.c may fail in a parallel
5environment. 5environment.
6 6
7Signed-off-by: Qing He <qing.he@intel.com> 7Signed-off-by: Qing He <qing.he@intel.com>
8
912/06/2010
10
11the dependency rule should really read pktloc.lo instead of
12pktloc.$(OBJEXT), since it's in a libtool setup.
13
14Signed-off-by: Qing He <qing.he@intel.com>
15
8diff --git a/lib/Makefile.am b/lib/Makefile.am 16diff --git a/lib/Makefile.am b/lib/Makefile.am
9index 92a916e..e8b8ef3 100644 17index 92a916e..e8b8ef3 100644
10--- a/lib/Makefile.am 18--- a/lib/Makefile.am
@@ -13,7 +21,7 @@ index 92a916e..e8b8ef3 100644
13 route/pktloc_syntax.c: route/pktloc_syntax.y 21 route/pktloc_syntax.c: route/pktloc_syntax.y
14 $(YACC) -d $(YFLAGS) -o $@ $^ 22 $(YACC) -d $(YFLAGS) -o $@ $^
15 23
16+route/pktloc.$(OBJEXT): route/pktloc_syntax.h route/pktloc_grammar.h 24+route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h
17+route/pktloc_syntax.h: route/pktloc_syntax.c 25+route/pktloc_syntax.h: route/pktloc_syntax.c
18+route/pktloc_grammar.h: route/pktloc_grammar.c 26+route/pktloc_grammar.h: route/pktloc_grammar.c
19+ 27+
diff --git a/meta/recipes-support/libnl/libnl_2.0.bb b/meta/recipes-support/libnl/libnl_2.0.bb
index e275670b51..eb89f0d117 100644
--- a/meta/recipes-support/libnl/libnl_2.0.bb
+++ b/meta/recipes-support/libnl/libnl_2.0.bb
@@ -7,7 +7,7 @@ LICENSE = "LGPLv2.1"
7LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc" 7LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc"
8 8
9DEPENDS = "flex-native bison-native" 9DEPENDS = "flex-native bison-native"
10PR = "r1" 10PR = "r2"
11 11
12SRC_URI= "http://www.infradead.org/~tgr/libnl/files/${PN}-${PV}.tar.gz \ 12SRC_URI= "http://www.infradead.org/~tgr/libnl/files/${PN}-${PV}.tar.gz \
13 file://fix-makefile.patch \ 13 file://fix-makefile.patch \