summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-01-08 12:19:39 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:43:10 +0000
commitb5fbf48b62e48c849cc09d952d2cdbd066089aaf (patch)
tree255d2f489af78bc7a57ab2f6c0fae8c5f970a492 /meta/recipes-support/libnl
parentde446b71318d1521b1852cae06646f2dd055e6f5 (diff)
downloadpoky-b5fbf48b62e48c849cc09d952d2cdbd066089aaf.tar.gz
libnl: Update to 3.2.18
This release fixes the build failures found when building against old Linux kernel headers and also includes the fix for to use 'flex' instead of 'lex'. (From OE-Core rev: 5de138939c42b0a6d80732130b2617fd60a7d545) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libnl')
-rw-r--r--meta/recipes-support/libnl/libnl/fix-build-using-flex.patch55
-rw-r--r--meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch2
-rw-r--r--meta/recipes-support/libnl/libnl_3.2.18.bb (renamed from meta/recipes-support/libnl/libnl_3.2.16.bb)7
3 files changed, 4 insertions, 60 deletions
diff --git a/meta/recipes-support/libnl/libnl/fix-build-using-flex.patch b/meta/recipes-support/libnl/libnl/fix-build-using-flex.patch
deleted file mode 100644
index 89a36bafbd..0000000000
--- a/meta/recipes-support/libnl/libnl/fix-build-using-flex.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1From 89ab8d4f1229a1d2605193686cc00e6b2c9786ff Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Mon, 7 Jan 2013 15:44:38 -0200
4Subject: [PATCH] Fix build using flex
5
6Upstream-Status: Backport [3.2.17]
7---
8 lib/Makefile.am | 4 ++--
9 src/lib/Makefile.am | 4 ++--
10 2 files changed, 4 insertions(+), 4 deletions(-)
11
12diff --git a/lib/Makefile.am b/lib/Makefile.am
13index 98c7b90..89cc5d2 100644
14--- a/lib/Makefile.am
15+++ b/lib/Makefile.am
16@@ -43,14 +43,14 @@ CLEANFILES = \
17 route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h
18 route/pktloc_grammar.h: route/pktloc_grammar.c
19 route/pktloc_grammar.c: route/pktloc_grammar.l
20- $(AM_V_GEN) $(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
21+ $(AM_V_GEN) $(FLEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
22
23 route/pktloc_syntax.h: route/pktloc_syntax.c
24 route/pktloc_syntax.c: route/pktloc_syntax.y
25 $(AM_V_GEN) $(YACC) -d $(YFLAGS) -o $@ $^
26
27 route/cls/ematch_grammar.c: route/cls/ematch_grammar.l
28- $(AM_V_GEN) $(LEX) --header-file=route/cls/ematch_grammar.h $(LFLAGS) -o $@ $^
29+ $(AM_V_GEN) $(FLEX) --header-file=route/cls/ematch_grammar.h $(LFLAGS) -o $@ $^
30
31 route/cls/ematch_syntax.c: route/cls/ematch_syntax.y
32 $(AM_V_GEN) $(YACC) -d $(YFLAGS) -o $@ $^
33diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
34index 6688e7c..507635d 100644
35--- a/src/lib/Makefile.am
36+++ b/src/lib/Makefile.am
37@@ -11,13 +11,13 @@ AM_LDFLAGS = \
38 #cls_ematch_cmp_la_LDFLAGS = -module -version-info 2:0:0
39
40 #cls/ematch_grammar.c: cls/ematch_grammar.l
41-# $(LEX) --header-file=cls/ematch_grammar.h $(LFLAGS) -o $@ $^
42+# $(FLEX) --header-file=cls/ematch_grammar.h $(LFLAGS) -o $@ $^
43
44 #cls/ematch_syntax.c: cls/ematch_syntax.y
45 # $(YACC) -d $(YFLAGS) -o $@ $^
46
47 #cls/pktloc_grammar.c: cls/pktloc_grammar.l
48-# $(LEX) --header-file=cls/pktloc_grammar.h $(LFLAGS) -o $@ $^
49+# $(FLEX) --header-file=cls/pktloc_grammar.h $(LFLAGS) -o $@ $^
50
51 #cls/pktloc_syntax.c: cls/pktloc_syntax.y
52 # $(YACC) -d $(YFLAGS) -o $@ $^
53--
541.7.10.4
55
diff --git a/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch b/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch
index 332ec0101d..b93d97b1b7 100644
--- a/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch
+++ b/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch
@@ -17,7 +17,7 @@ Index: libnl-3.2.14/lib/Makefile.am
17+route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h 17+route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h
18+route/pktloc_grammar.h: route/pktloc_grammar.c 18+route/pktloc_grammar.h: route/pktloc_grammar.c
19 route/pktloc_grammar.c: route/pktloc_grammar.l 19 route/pktloc_grammar.c: route/pktloc_grammar.l
20 $(AM_V_GEN) $(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^ 20 $(AM_V_GEN) $(FLEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
21 21
22+route/pktloc_syntax.h: route/pktloc_syntax.c 22+route/pktloc_syntax.h: route/pktloc_syntax.c
23 route/pktloc_syntax.c: route/pktloc_syntax.y 23 route/pktloc_syntax.c: route/pktloc_syntax.y
diff --git a/meta/recipes-support/libnl/libnl_3.2.16.bb b/meta/recipes-support/libnl/libnl_3.2.18.bb
index db9ae9d576..0da7f20f43 100644
--- a/meta/recipes-support/libnl/libnl_3.2.16.bb
+++ b/meta/recipes-support/libnl/libnl_3.2.18.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
3SECTION = "libs/network" 3SECTION = "libs/network"
4 4
5PE = "1" 5PE = "1"
6PR = "r1" 6PR = "r0"
7 7
8LICENSE = "LGPLv2.1" 8LICENSE = "LGPLv2.1"
9LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 9LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
@@ -12,11 +12,10 @@ DEPENDS = "flex-native bison-native"
12 12
13SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \ 13SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \
14 file://fix-pktloc_syntax_h-race.patch \ 14 file://fix-pktloc_syntax_h-race.patch \
15 file://fix-build-using-flex.patch \
16 file://fix-pc-file.patch " 15 file://fix-pc-file.patch "
17 16
18SRC_URI[md5sum] = "f06e6de102abb2cef71ed671957ee099" 17SRC_URI[md5sum] = "378eafcca1f51d1c7498d78946cd891a"
19SRC_URI[sha256sum] = "c43a42336c6a3cf559f390e202f8f029d165bd767da7cf7a32a815c570b31826" 18SRC_URI[sha256sum] = "6563e4e72a35f9f96380086f6bd17307552977af98e98bd3dd0fdde8013d53a9"
20 19
21inherit autotools pkgconfig 20inherit autotools pkgconfig
22 21