summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-01-30 16:39:56 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-01-30 16:39:56 +0000
commitbf800754a040611426533bcaee57657f039ed2cf (patch)
tree5d4f912a1c6cf8ab54bc9f6e2341cf82609b2b91
parentde40a62559e49e2ee740ba417817a2d4b755de4c (diff)
downloadptxdist-bf800754a040611426533bcaee57657f039ed2cf.tar.gz
ptxdist-bf800754a040611426533bcaee57657f039ed2cf.tar.xz
* libnl: add application support
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9695 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/libnl.in9
-rw-r--r--rules/libnl.make36
2 files changed, 44 insertions, 1 deletions
diff --git a/rules/libnl.in b/rules/libnl.in
index d1ead2a73..2a633f46d 100644
--- a/rules/libnl.in
+++ b/rules/libnl.in
@@ -1,6 +1,6 @@
## SECTION=system_libraries
-config LIBNL
+menuconfig LIBNL
tristate
prompt "libnl"
help
@@ -9,3 +9,10 @@ config LIBNL
netlink messaging and various netlink family specific
interfaces.
+if LIBNL
+
+config LIBNL_MONITOR
+ bool
+ prompt "nl-monitor"
+
+endif
diff --git a/rules/libnl.make b/rules/libnl.make
index 8266c6dc6..7276206c5 100644
--- a/rules/libnl.make
+++ b/rules/libnl.make
@@ -101,6 +101,42 @@ $(STATEDIR)/libnl.targetinstall:
@$(call install_link, libnl, libnl.so.1.1, /usr/lib/libnl.so.1)
@$(call install_link, libnl, libnl.so.1.1, /usr/lib/libnl.so)
+ifdef PTXCONF_LIBNL_MONITOR
+ @$(call install_copy, libnl, 0, 0, 0755, $(LIBNL_DIR)/src/nl-monitor, /usr/sbin/nl-monitor)
+endif
+
+# genl-ctrl-dump
+# genl-ctrl-get
+# nf-ct-dump
+# nf-log
+# nf-monitor
+# nl-addr-add
+# nl-addr-delete
+# nl-addr-dump
+# nl-fib-lookup
+# nl-link-dump
+# nl-link-ifindex2name
+# nl-link-name2ifindex
+# nl-link-set
+# nl-link-stats
+# nl-list-caches
+# nl-list-sockets
+# nl-monitor
+# nl-neigh-add
+# nl-neigh-delete
+# nl-neigh-dump
+# nl-neightbl-dump
+# nl-qdisc-add
+# nl-qdisc-delete
+# nl-qdisc-dump
+# nl-route-add
+# nl-route-del
+# nl-route-dump
+# nl-route-get
+# nl-rule-dump
+# nl-tctree-dump
+# nl-util-addr
+
@$(call install_finish, libnl)
@$(call touch)