Skip to contentSkip to conversation

build: enable NFC build

PATCH In review Thierry Escande 2 participants 3 messages Apr 8, 2013 – Apr 9, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v3 7/8 build: enable NFC build

---
 backport/Kconfig         |    2 ++
 backport/Makefile.kernel |    2 ++
 dependencies             |    4 ++++
 3 files changed, 8 insertions(+)
backport/Kconfig +2 -0
index 8a38d61..6ab0991 100644
@@ -36,3 +36,5 @@ source drivers/ssb/Kconfig
 source drivers/bcma/Kconfig
 
 source drivers/gpu/drm/Kconfig
+
+source net/nfc/Kconfig
backport/Makefile.kernel +2 -0
index 8aa3e4a..4d00bda 100644
@@ -23,3 +23,5 @@ obj-$(CPTCFG_SSB) += drivers/ssb/
 obj-$(CPTCFG_BCMA) += drivers/bcma/
 obj-$(CPTCFG_ETHERNET) += drivers/net/ethernet/
 obj-$(CPTCFG_DRM) += drivers/gpu/drm/
+obj-$(CPTCFG_NFC) += net/nfc/
+obj-$(CPTCFG_NFC) += drivers/nfc/
dependencies +4 -0
index 7c79449..e9aaa2e 100644
@@ -83,3 +83,7 @@ BRCMDBG 2.6.30
 # backport it, but I can't test that and this is a
 # lot easier right now.
 BT_HIDP 2.6.33
+
+# NFC core needs PF_NFC defined in socket.h which was
+# only introduced in kernel 3.1
+NFC 3.1
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 12 lines · Thierry Escande
---
 backport/Kconfig         |    2 ++
 backport/Makefile.kernel |    2 ++
 dependencies             |    4 ++++
 3 files changed, 8 insertions(+)
backport/Kconfig +0 -0
index 8a38d61..6ab0991 100644

backport/Kconfig source drivers/ssb/Kconfig · line 40

Quoted 5 lines
backport/Kconfig +2 -0
@@ -36,3 +36,5 @@ source drivers/ssb/Kconfig
 source drivers/bcma/Kconfig
 
 source drivers/gpu/drm/Kconfig
+
+source net/nfc/Kconfig

Isn't this missing here?
source drivers/nfc/Kconfig

Quoted 23 lines
backport/Makefile.kernel +2 -0
index 8aa3e4a..4d00bda 100644
@@ -23,3 +23,5 @@ obj-$(CPTCFG_SSB) += drivers/ssb/
 obj-$(CPTCFG_BCMA) += drivers/bcma/
 obj-$(CPTCFG_ETHERNET) += drivers/net/ethernet/
 obj-$(CPTCFG_DRM) += drivers/gpu/drm/
+obj-$(CPTCFG_NFC) += net/nfc/
+obj-$(CPTCFG_NFC) += drivers/nfc/
dependencies +4 -0
index 7c79449..e9aaa2e 100644
@@ -83,3 +83,7 @@ BRCMDBG 2.6.30
 # backport it, but I can't test that and this is a
 # lot easier right now.
 BT_HIDP 2.6.33
+
+# NFC core needs PF_NFC defined in socket.h which was
+# only introduced in kernel 3.1
+NFC 3.1
#2 lore raw

Hi Hauke,

Quoted 5 lines · Hauke Mehrtens

backport/Kconfig source drivers/ssb/Kconfig · line 40

Quoted 2 lines
backport/Kconfig +2 -0
+
+source net/nfc/Kconfig

Isn't this missing here?
source drivers/nfc/Kconfig

It's included by net/nfc/Kconfig. That way NFC devices show up in menuconfig only when the NFC subsystem is selected.

Regards,

Thierry