libnfc version 1.7.0 need a configuration file to configure work mode.

Signed-off-by: JiapengLi <gaplee...@gmail.com>
---
diff --git a/libs/libnfc/Makefile b/libs/libnfc/Makefile
index ae30c8e..0aa2ad9 100644
--- a/libs/libnfc/Makefile
+++ b/libs/libnfc/Makefile
@@ -91,6 +91,8 @@ endef
 define Package/libnfc/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnfc.so.* $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/etc/nfc/devices.d
+       $(CP) $(PKG_BUILD_DIR)/libnfc.conf.sample $(1)/etc/nfc/libnfc.conf
 endef

 define Package/libnfc-bin/install
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to