summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-12-05 08:39:07 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-12-05 19:14:40 (GMT)
commit34ae9eb63db4ff48da4ed45b9b48997e7c6cd590 (patch)
treece46911d209769355751e80459b8cb2b9e3f682e
parent635bebf559f4f76bc4fa49c3ccb468476a654151 (diff)
downloadbuildroot-34ae9eb63db4ff48da4ed45b9b48997e7c6cd590.tar.gz
buildroot-34ae9eb63db4ff48da4ed45b9b48997e7c6cd590.tar.bz2
neard: new package
[Peter: add toolchain dependencies for libglib2/libnl/dbus + host-pkgconf] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/neard/Config.in18
-rw-r--r--package/neard/neard.mk14
3 files changed, 33 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index ae94705..40ca8e6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -237,6 +237,7 @@ source "package/mdadm/Config.in"
source "package/memtester/Config.in"
source "package/minicom/Config.in"
source "package/nanocom/Config.in"
+source "package/neard/Config.in"
source "package/ofono/Config.in"
source "package/open2300/Config.in"
source "package/openocd/Config.in"
diff --git a/package/neard/Config.in b/package/neard/Config.in
new file mode 100644
index 0000000..bcf6171
--- /dev/null
+++ b/package/neard/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_NEARD
+ bool "neard"
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libnl / dbus
+ depends on BR2_USE_MMU # dbus
+ select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_LIBNL
+ help
+ Near Field Communication (NFC) manager. This userspace daemon is
+ a part of the NFC stack provided by the Linux NFC project.
+
+ http://git.kernel.org/?p=network/nfc/neard.git;a=summary
+
+ https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
+
+comment "neard requires a toolchain with WCHAR and threads support"
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
new file mode 100644
index 0000000..2d3e30e
--- /dev/null
+++ b/package/neard/neard.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# neard
+#
+#############################################################
+NEARD_VERSION = 0.8
+NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
+NEARD_LICENSE = GPLv2
+NEARD_LICENSE_FILES = COPYING
+
+NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
+NEARD_CONF_OPT = --disable-traces
+
+$(eval $(autotools-package))