mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-07-28 11:49:55 +02:00
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:
19
recipes-kernel/xradio/xradio/Add_Targets_To_Makefile.patch
Normal file
19
recipes-kernel/xradio/xradio/Add_Targets_To_Makefile.patch
Normal 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
|
Reference in New Issue
Block a user