recipes-kernel: xradio: Added wifi driver for orange-pi-zero wifi

Driver taken from:
https://github.com/Halolo/orange-pi-distro.git

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
This commit is contained in:
Marek Belisko
2018-10-30 20:37:49 +01:00
parent 712229cbe4
commit 318e609f65
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,19 @@
diff --git a/Makefile b/Makefile
index fd15d31..078a2ad 100644
--- a/Makefile
+++ b/Makefile
@@ -50,3 +50,14 @@ ccflags-y += -DXRADIO_USE_LONG_KEEP_ALIVE_PERIOD
ldflags-y += --strip-debug
obj-$(CONFIG_XRADIO) += xradio_wlan.o
+
+SRC := $(shell pwd)
+
+all:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
+
+modules_install:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
+
+clean:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean