[oe-commits] Philip Balister : networkmanager_git : Fix more build issues.

git version control git at git.openembedded.org
Tue May 17 13:08:10 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b167a9a9e55a7a493a7ee565cec9c7dd463362ff
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=b167a9a9e55a7a493a7ee565cec9c7dd463362ff

Author: Philip Balister <philip at balister.org>
Date:   Tue May 17 09:06:12 2011 -0400

networkmanager_git : Fix more build issues.

Failed for a clean build finding rtnl.h again. I think I have fixed for
all cases this time. Tested on a clean build.

Signed-off-by: Philip Balister <philip at balister.org>

---

 ...nl-flags-also-in-dns-manager-vpn-manager-.patch |   72 ++++++++++++++++++++
 ...2-respect-libnl-flags-also-in-dns-manager.patch |   32 ---------
 recipes/networkmanager/networkmanager_git.bb       |    2 +-
 3 files changed, 73 insertions(+), 33 deletions(-)

diff --git a/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager-vpn-manager-.patch b/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager-vpn-manager-.patch
new file mode 100644
index 0000000..9378da4
--- /dev/null
+++ b/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager-vpn-manager-.patch
@@ -0,0 +1,72 @@
+From 80a0d581393d52d1c4047acefb8b855852b2e9d3 Mon Sep 17 00:00:00 2001
+From: Philip Balister <philip at opensdr.com>
+Date: Wed, 4 May 2011 18:24:49 -0400
+Subject: [PATCH 2/2] respect libnl flags also in dns manager, vpn manager, and modem manager
+
+Signed-off-by: Philip Balister <philip at balister.org>
+---
+ src/dns-manager/Makefile.am   |    2 ++
+ src/modem-manager/Makefile.am |    2 ++
+ src/vpn-manager/Makefile.am   |    2 ++
+ 3 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/src/dns-manager/Makefile.am b/src/dns-manager/Makefile.am
+index 7b5fc4f..b51f667 100644
+--- a/src/dns-manager/Makefile.am
++++ b/src/dns-manager/Makefile.am
+@@ -19,12 +19,14 @@ libdns_manager_la_SOURCES = \
+ 	nm-dns-utils.c
+ 
+ libdns_manager_la_CPPFLAGS = \
++	$(LIBNL_CFLAGS) \
+ 	$(DBUS_CFLAGS) \
+ 	$(GLIB_CFLAGS) \
+ 	-DLOCALSTATEDIR=\"$(localstatedir)\"
+ 
+ libdns_manager_la_LIBADD = \
+ 	$(top_builddir)/src/logging/libnm-logging.la \
++	$(LIBNL_LIBS) \
+ 	$(DBUS_LIBS) \
+ 	$(GLIB_LIBS)
+ 
+diff --git a/src/modem-manager/Makefile.am b/src/modem-manager/Makefile.am
+index 22ed809..8fb25b6 100644
+--- a/src/modem-manager/Makefile.am
++++ b/src/modem-manager/Makefile.am
+@@ -19,11 +19,13 @@ libmodem_manager_la_SOURCES = \
+ 	nm-modem-types.h
+ 
+ libmodem_manager_la_CPPFLAGS = \
++	$(LIBNL_CFLAGS) \
+ 	$(DBUS_CFLAGS)
+ 
+ libmodem_manager_la_LIBADD = \
+ 	$(top_builddir)/marshallers/libmarshallers.la \
+ 	$(top_builddir)/src/logging/libnm-logging.la \
++	$(LIBNL_LIBS) \
+ 	$(DBUS_LIBS)
+ 
+ nm-serial-device-glue.h: $(top_srcdir)/introspection/nm-device-serial.xml
+diff --git a/src/vpn-manager/Makefile.am b/src/vpn-manager/Makefile.am
+index 3b20661..ce99728 100644
+--- a/src/vpn-manager/Makefile.am
++++ b/src/vpn-manager/Makefile.am
+@@ -22,6 +22,7 @@ libvpn_manager_la_SOURCES = \
+ 	nm-vpn-connection.h
+ 
+ libvpn_manager_la_CPPFLAGS =	\
++	$(LIBNL_CFLAGS)		\
+ 	$(DBUS_CFLAGS)		\
+ 	$(GLIB_CFLAGS)		\
+ 	-DG_DISABLE_DEPRECATED
+@@ -30,6 +31,7 @@ libvpn_manager_la_LIBADD = \
+ 	$(top_builddir)/marshallers/libmarshallers.la \
+ 	$(top_builddir)/src/logging/libnm-logging.la \
+ 	$(top_builddir)/libnm-util/libnm-util.la \
++	$(LIBNL_LIBS) \
+ 	$(DBUS_LIBS) \
+ 	$(GLIB_LIBS)
+ 
+-- 
+1.7.3.4
+
diff --git a/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager.patch b/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager.patch
deleted file mode 100644
index ede777f..0000000
--- a/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From f7ff232d2c335eec5192b23861d8bfa2fd098425 Mon Sep 17 00:00:00 2001
-From: Philip Balister <philip at opensdr.com>
-Date: Wed, 4 May 2011 18:24:49 -0400
-Subject: [PATCH 2/2] respect-libnl-flags-also-in-dns-manager
-
-Signed-off-by: Philip Balister <philip at balister.org>
----
- src/dns-manager/Makefile.am |    2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
-
-diff --git a/src/dns-manager/Makefile.am b/src/dns-manager/Makefile.am
-index 7b5fc4f..b51f667 100644
---- a/src/dns-manager/Makefile.am
-+++ b/src/dns-manager/Makefile.am
-@@ -19,12 +19,14 @@ libdns_manager_la_SOURCES = \
- 	nm-dns-utils.c
- 
- libdns_manager_la_CPPFLAGS = \
-+	$(LIBNL_CFLAGS) \
- 	$(DBUS_CFLAGS) \
- 	$(GLIB_CFLAGS) \
- 	-DLOCALSTATEDIR=\"$(localstatedir)\"
- 
- libdns_manager_la_LIBADD = \
- 	$(top_builddir)/src/logging/libnm-logging.la \
-+	$(LIBNL_LIBS) \
- 	$(DBUS_LIBS) \
- 	$(GLIB_LIBS)
- 
--- 
-1.7.3.4
-
diff --git a/recipes/networkmanager/networkmanager_git.bb b/recipes/networkmanager/networkmanager_git.bb
index 8187787..fd8f52f 100644
--- a/recipes/networkmanager/networkmanager_git.bb
+++ b/recipes/networkmanager/networkmanager_git.bb
@@ -20,7 +20,7 @@ SRC_URI += " \
     file://NetworkManager \
     file://gtk-doc.make \
     file://0001-respect-libnl-flags-also-in-backends-ip6-manager.patch \
-    file://0002-respect-libnl-flags-also-in-dns-manager.patch \
+    file://0002-respect-libnl-flags-also-in-dns-manager-vpn-manager-.patch \
 "
 
 EXTRA_OECONF += " --with-dhclient=${base_sbindir}/dhclient \





More information about the Openembedded-commits mailing list