OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 6... | Line 6... | |||
6 | PKG_LICENSE:=GPLv2 |
6 | PKG_LICENSE:=GPLv2 |
|
7 | PKG_LICENSE_FILES:= |
7 | PKG_LICENSE_FILES:= |
|
Line 8... | Line 8... | |||
8 | |
8 | |
|
9 | PKG_SOURCE_URL:=https://github.com/greearb/ath10k-ct.git |
9 | PKG_SOURCE_URL:=https://github.com/greearb/ath10k-ct.git |
|
10 | PKG_SOURCE_PROTO:=git |
10 | PKG_SOURCE_PROTO:=git |
|
11 | PKG_SOURCE_DATE:=2018-12-20 |
11 | PKG_SOURCE_DATE:=2018-03-16 |
|
12 | PKG_SOURCE_VERSION:=118e16da8e82f2e028654f86e47f4c8e5bddccc8 |
12 | PKG_SOURCE_VERSION:=30827f7d5b9841905c4efe918da2d95fc518c921 |
|
Line 13... | Line 13... | |||
13 | PKG_MIRROR_HASH:=f84616d5c6c3f6c0aded40b821d9b54fd88b78737f534b37a6ed0c51db16ed06 |
13 | PKG_MIRROR_HASH:=aac023d7f9b09becf27058b1d09ae6d068b14bb6f10c5b5a248c7ee5ecff04dc |
|
14 | |
14 | |
|
15 | # Build the 4.19 ath10k-ct driver version. Other options are "-4.16", or |
15 | # Build the 4.13 ath10k-ct driver version. Other options are "-4.9", or |
|
16 | # leave un-defined for 4.7 kernel. Probably this should match as closely as |
16 | # leave un-defined for 4.7 kernel. Probably this should match as closely as |
|
Line 17... | Line 17... | |||
17 | # possible to whatever mac80211 backports version is being used. |
17 | # possible to whatever mac80211 backports version is being used. |
|
18 | CT_KVER="-4.19" |
18 | CT_KVER="-4.13" |
|
19 | |
19 | |
|
Line 35... | Line 35... | |||
35 | $(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_core.ko |
35 | $(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_core.ko |
|
36 | AUTOLOAD:=$(call AutoProbe,ath10k_pci) |
36 | AUTOLOAD:=$(call AutoProbe,ath10k_pci) |
|
37 | PROVIDES:=kmod-ath10k |
37 | PROVIDES:=kmod-ath10k |
|
38 | endef |
38 | endef |
|
Line 39... | Line -... | |||
39 | |
- | ||
40 | define KernelPackage/ath10k-ct/config |
- | ||
41 | |
- | ||
42 | config ATH10K-CT_LEDS |
- | ||
43 | bool "Enable LED support" |
- | ||
44 | default y |
- | ||
45 | depends on PACKAGE_kmod-ath10k-ct |
- | ||
46 | endef |
- | ||
47 | |
39 | |
|
48 | NOSTDINC_FLAGS = \ |
40 | NOSTDINC_FLAGS = \ |
|
49 | -I$(PKG_BUILD_DIR) \ |
41 | -I$(PKG_BUILD_DIR) \ |
|
50 | -I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \ |
42 | -I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \ |
|
51 | -I$(STAGING_DIR)/usr/include/mac80211-backport \ |
43 | -I$(STAGING_DIR)/usr/include/mac80211-backport \ |
|
Line 56... | Line 48... | |||
56 | |
48 | |
|
57 | ifdef CONFIG_PACKAGE_MAC80211_MESH |
49 | ifdef CONFIG_PACKAGE_MAC80211_MESH |
|
58 | NOSTDINC_FLAGS += -DCONFIG_MAC80211_MESH |
50 | NOSTDINC_FLAGS += -DCONFIG_MAC80211_MESH |
|
Line 59... | Line 51... | |||
59 | endif |
51 | endif |
|
Line 60... | Line 52... | |||
60 | |
52 | |
|
61 | CT_MAKEDEFS += CONFIG_ATH10K=m CONFIG_ATH10K_PCI=m CONFIG_ATH10K_CE=y |
53 | CT_MAKEDEFS += CONFIG_ATH10K=m CONFIG_ATH10K_PCI=m |
|
62 | |
54 | |
|
Line 83... | Line 75... | |||
83 | ifdef CONFIG_PACKAGE_ATH_SPECTRAL |
75 | ifdef CONFIG_PACKAGE_ATH_SPECTRAL |
|
84 | CT_MAKEDEFS += CONFIG_ATH10K_SPECTRAL=y |
76 | CT_MAKEDEFS += CONFIG_ATH10K_SPECTRAL=y |
|
85 | NOSTDINC_FLAGS += -DCONFIG_ATH10K_SPECTRAL |
77 | NOSTDINC_FLAGS += -DCONFIG_ATH10K_SPECTRAL |
|
86 | endif |
78 | endif |
|
Line 87... | Line -... | |||
87 | |
- | ||
88 | ifeq ($(CONFIG_ATH10K-CT_LEDS),y) |
- | ||
89 | CT_MAKEDEFS += CONFIG_ATH10K_LEDS=y |
- | ||
90 | NOSTDINC_FLAGS += -DCONFIG_ATH10K_LEDS |
- | ||
91 | endif |
- | ||
92 | |
79 | |
|
93 | define Build/Configure |
80 | define Build/Configure |
|
94 | cp $(STAGING_DIR)/usr/include/mac80211/ath/*.h $(PKG_BUILD_DIR) |
81 | cp $(STAGING_DIR)/usr/include/mac80211/ath/*.h $(PKG_BUILD_DIR) |
|
Line 95... | Line 82... | |||
95 | endef |
82 | endef |