xr819-xradio: new package
authorSergey Matyukevich <geomatsi@gmail.com>
Sun, 18 Jun 2017 18:41:59 +0000 (21:41 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 21 Jun 2017 20:39:43 +0000 (22:39 +0200)
This patch adds xradio wireless driver for SDIO WiFi chip XR819.
The out-of-tree driver is sourced from fifteenhex's work
on github https://github.com/fifteenhex/xradio

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
[Thomas: add entry in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/xr819-xradio/Config.in [new file with mode: 0644]
package/xr819-xradio/xr819-xradio.hash [new file with mode: 0644]
package/xr819-xradio/xr819-xradio.mk [new file with mode: 0644]

index 57293512313077a8e61c5af874ff55b513422524..1b1cefe921d617aca44854540e37e3cde6a7116b 100644 (file)
@@ -1487,6 +1487,9 @@ F:        package/libbson/
 F:     package/lua-resty-http/
 F:     package/mpir/
 
+N:     Sergey Matyukevich <geomatsi@gmail.com>
+F:     package/xr819-xradio/
+
 N:     Sergio Prado <sergio.prado@e-labworks.com>
 F:     package/libgdiplus/
 F:     package/mongodb/
index d2b311986f82fd26c420bf1a545f6f4ce351b0ee..95068fd4360d66a2be5611bf9e7bec32a96b0aae 100644 (file)
@@ -505,6 +505,7 @@ endmenu
        source "package/wf111/Config.in"
        source "package/wipe/Config.in"
        source "package/xorriso/Config.in"
+       source "package/xr819-xradio/Config.in"
 endmenu
 
 menu "Interpreter languages and scripting"
diff --git a/package/xr819-xradio/Config.in b/package/xr819-xradio/Config.in
new file mode 100644 (file)
index 0000000..9d7fa4b
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_XR819_XRADIO
+       bool "xr819-xradio"
+       depends on BR2_LINUX_KERNEL
+       help
+         Wireless driver for SDIO WiFi chip XR819
+
+         https://github.com/fifteenhex/xradio
+
+comment "xr819-xradio driver needs a Linux kernel to be built"
+       depends on !BR2_LINUX_KERNEL
diff --git a/package/xr819-xradio/xr819-xradio.hash b/package/xr819-xradio/xr819-xradio.hash
new file mode 100644 (file)
index 0000000..bdb0f96
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 5e9f59942b3880768b4812ab6db395bd1fa6d423cae9c09504baa416f064a10d xr819-xradio-014dfdd203102c5fd2370a73ec4ae3e6dd4e9ded.tar.gz
diff --git a/package/xr819-xradio/xr819-xradio.mk b/package/xr819-xradio/xr819-xradio.mk
new file mode 100644 (file)
index 0000000..dfe2ee6
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# xr819-xradio
+#
+################################################################################
+
+XR819_XRADIO_VERSION = 014dfdd203102c5fd2370a73ec4ae3e6dd4e9ded
+XR819_XRADIO_SITE = $(call github,fifteenhex,xradio,$(XR819_XRADIO_VERSION))
+XR819_XRADIO_LICENSE = GPL-2.0
+XR819_XRADIO_LICENSE_FILES = LICENSE
+
+$(eval $(kernel-module))
+$(eval $(generic-package))