diff options
author | Olivier Guiter <olivier.guiter@linux.intel.com> | 2013-03-04 19:06:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-07 11:10:35 +0000 |
commit | b2a74ae70725be7efc0226901fd560d3b3b48607 (patch) | |
tree | df6ba9c4f7535cca82140eb4da86463117623ebf /meta/recipes-core | |
parent | 7376f4685899708fced56f212467e78325c99095 (diff) | |
download | openembedded-core-b2a74ae70725be7efc0226901fd560d3b3b48607.tar.gz openembedded-core-b2a74ae70725be7efc0226901fd560d3b3b48607.tar.bz2 openembedded-core-b2a74ae70725be7efc0226901fd560d3b3b48607.zip |
Near Field communication recipe for neard 0.9
The Linux NFC project aims to provide a full NFC support for Linux.
It is based on the neard NFC user space stack running on top of the
Linux kernel NFC subsystem.
The code generated using this recipe was tested on a ARM11 device, with
a kernel 3.6, using, for the NFC hardware, a USB dongle with the PN533
chipset (SCL3711)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/packagegroups/packagegroup-base.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb index 100cc88be3..799e12a7ac 100644 --- a/meta/recipes-core/packagegroups/packagegroup-base.bb +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb @@ -28,6 +28,7 @@ PACKAGES = ' \ ${@base_contains("DISTRO_FEATURES", "bluetooth", "packagegroup-base-bluetooth", "", d)} \ ${@base_contains("DISTRO_FEATURES", "wifi", "packagegroup-base-wifi", "", d)} \ ${@base_contains("DISTRO_FEATURES", "3g", "packagegroup-base-3g", "", d)} \ + ${@base_contains("DISTRO_FEATURES", "nfc", "packagegroup-base-nfc", "", d)} \ ${@base_contains("DISTRO_FEATURES", "cramfs", "packagegroup-base-cramfs", "", d)} \ ${@base_contains("DISTRO_FEATURES", "ipsec", "packagegroup-base-ipsec", "", d)} \ ${@base_contains("DISTRO_FEATURES", "ipv6", "packagegroup-base-ipv6", "", d)} \ @@ -71,6 +72,7 @@ RDEPENDS_packagegroup-base = "\ ${@base_contains('COMBINED_FEATURES', 'bluetooth', 'packagegroup-base-bluetooth', '',d)} \ ${@base_contains('COMBINED_FEATURES', 'wifi', 'packagegroup-base-wifi', '',d)} \ ${@base_contains('COMBINED_FEATURES', '3g', 'packagegroup-base-3g', '',d)} \ + ${@base_contains('COMBINED_FEATURES', 'nfc', 'packagegroup-base-nfc', '',d)} \ \ ${@base_contains('DISTRO_FEATURES', 'nfs', 'packagegroup-base-nfs', '',d)} \ ${@base_contains('DISTRO_FEATURES', 'cramfs', 'packagegroup-base-cramfs', '',d)} \ @@ -96,11 +98,13 @@ RDEPENDS_packagegroup-base-extended = "\ ${ADD_WIFI} \ ${ADD_BT} \ ${ADD_3G} \ + ${ADD_NFC} \ " ADD_WIFI = "" ADD_BT = "" ADD_3G = "" +ADD_NFC = "" python __anonymous () { # If Distro want wifi and machine feature wifi/pci/pcmcia/usbhost (one of them) @@ -118,6 +122,9 @@ python __anonymous () { if "3g" in distro_features and not "3g" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features): d.setVar("ADD_3G", "packagegroup-base-3g") + if "nfc" in distro_features and not "nfc" in machine_features and ("usbhost" in machine_features): + d.setVar("ADD_NFC", "packagegroup-base-nfc") + # For backwards compatibility after rename packages = d.getVar("PACKAGES", True).split() for pkg in packages: @@ -309,6 +316,13 @@ RRECOMMENDS_packagegroup-base-wifi = "\ kernel-module-aes-generic \ kernel-module-aes" +SUMMARY_packagegroup-base-nfc = "Near Field Communication support" +RDEPENDS_packagegroup-base-nfc = "\ + neard" + +RRECOMMENDS_packagegroup-base-nfc = "\ + kernel-module-nfc" + SUMMARY_packagegroup-base-3g = "Cellular data support" RDEPENDS_packagegroup-base-3g = "\ ofono" |