From c0ce88c586a467665b35d93c2f6962cac8e8dc27 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 16 Sep 2018 19:55:45 +0200 Subject: mt7xxx proprietary Wifi drivers integration + mac80211 weird changes --- .../mt7628sta/patches/001-openwrt-build.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/ramips/drivers/mt7628sta/patches/001-openwrt-build.patch (limited to 'package/ramips/drivers/mt7628sta/patches/001-openwrt-build.patch') diff --git a/package/ramips/drivers/mt7628sta/patches/001-openwrt-build.patch b/package/ramips/drivers/mt7628sta/patches/001-openwrt-build.patch new file mode 100644 index 0000000..3429f57 --- /dev/null +++ b/package/ramips/drivers/mt7628sta/patches/001-openwrt-build.patch @@ -0,0 +1,20 @@ +Index: mt7628sta-4.0.1.4/mt_wifi_sta/Makefile +=================================================================== +--- mt7628sta-4.0.1.4.orig/mt_wifi_sta/Makefile ++++ mt7628sta-4.0.1.4/mt_wifi_sta/Makefile +@@ -1,10 +1,10 @@ +-EXTRA_CFLAGS = -Idrivers/net/wireless/mt_wifi/include \ +- -Idrivers/net/wireless/mt_wifi/embedded/include \ +- -Idrivers/net/wireless/mt_wifi/ate/include ++EXTRA_CFLAGS = -I$(src)/../mt_wifi/include \ ++ -I$(src)/../mt_wifi/embedded/include \ ++ -I$(src)/../mt_wifi/ate/include + +-DRV_NAME = mt_wifi ++DRV_NAME = mt7628sta + SRC_DIR = ../mt_wifi/embedded +-obj-$(CONFIG_MT_STA_SUPPORT) += $(DRV_NAME).o ++obj-m += $(DRV_NAME).o + + ######################################################## + # Common files -- cgit v1.1