libnl: fix typo in the Makefile fix
authorQing He <qing.he@intel.com>
Mon, 6 Dec 2010 07:50:39 +0000 (15:50 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 6 Dec 2010 22:02:27 +0000 (22:02 +0000)
change .$(OBJEXT) to .lo in the rule to reflect libtool setup

Signed-off-by: Qing He <qing.he@intel.com>
meta/recipes-support/libnl/libnl-2.0/fix-makefile.patch
meta/recipes-support/libnl/libnl_2.0.bb

index d9f00be..214b0db 100644 (file)
@@ -5,6 +5,14 @@ otherwise the build of lib/route/pktloc.c may fail in a parallel
 environment.
 
 Signed-off-by: Qing He <qing.he@intel.com>
+
+12/06/2010
+
+the dependency rule should really read pktloc.lo instead of
+pktloc.$(OBJEXT), since it's in a libtool setup.
+
+Signed-off-by: Qing He <qing.he@intel.com>
+
 diff --git a/lib/Makefile.am b/lib/Makefile.am
 index 92a916e..e8b8ef3 100644
 --- a/lib/Makefile.am
@@ -13,7 +21,7 @@ index 92a916e..e8b8ef3 100644
  route/pktloc_syntax.c: route/pktloc_syntax.y
        $(YACC) -d $(YFLAGS) -o $@ $^
  
-+route/pktloc.$(OBJEXT): route/pktloc_syntax.h route/pktloc_grammar.h
++route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h
 +route/pktloc_syntax.h: route/pktloc_syntax.c
 +route/pktloc_grammar.h: route/pktloc_grammar.c
 +
index e275670..eb89f0d 100644 (file)
@@ -7,7 +7,7 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc"
 
 DEPENDS = "flex-native bison-native"
-PR = "r1"
+PR = "r2"
 
 SRC_URI= "http://www.infradead.org/~tgr/libnl/files/${PN}-${PV}.tar.gz \
           file://fix-makefile.patch \