OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | include $(TOPDIR)/rules.mk |
2 | include $(INCLUDE_DIR)/version.mk |
||
3 | |||
4 | PKG_NAME:=ipq-wifi |
||
5 | PKG_RELEASE:=1 |
||
6 | |||
7 | include $(INCLUDE_DIR)/package.mk |
||
8 | |||
9 | define Build/Prepare |
||
10 | mkdir -p $(PKG_BUILD_DIR) |
||
11 | endef |
||
12 | |||
13 | define Build/Compile |
||
14 | endef |
||
15 | |||
16 | #ALLWIFIBOARDS:=<devicename> |
||
3 | office | 17 | ALLWIFIBOARDS:=zyxel_wre6606 |
1 | office | 18 | ALLWIFIPACKAGES:=$(foreach BOARD,$(ALLWIFIBOARDS),ipq-wifi-$(BOARD)) |
19 | |||
20 | define Package/ipq-wifi-default |
||
21 | SUBMENU:=ath10k IPQ4019 Boarddata |
||
22 | SECTION:=firmware |
||
23 | CATEGORY:=Firmware |
||
24 | DEPENDS:=@TARGET_ipq40xx |
||
25 | TITLE:=Custom Board |
||
26 | endef |
||
27 | |||
28 | define generate-ipq-wifi-package |
||
29 | define Package/ipq-wifi-$(1) |
||
30 | $(call Package/ipq-wifi-default) |
||
31 | TITLE:=Board for $(3) |
||
32 | CONFLICTS:=$(PREV_BOARD) |
||
33 | endef |
||
34 | |||
35 | define Package/ipq-wifi-$(1)/description |
||
36 | This device custom package board-2.bin overwrites the board-2.bin |
||
37 | file which is supplied by the ath10k-firmware-qca4019 package. |
||
38 | |||
39 | This is package is only necessary for the $(3). |
||
40 | Don't install it for any other device! |
||
41 | endef |
||
42 | |||
43 | define Package/ipq-wifi-$(1)/install-overlay |
||
44 | $(INSTALL_DIR) $$(1)/lib/firmware/ath10k/QCA4019/hw1.0 |
||
45 | $(INSTALL_DATA) ./$(2) $$(1)/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin |
||
46 | endef |
||
47 | |||
48 | PREV_BOARD+=ipq-wifi-$(1) |
||
49 | endef |
||
50 | |||
3 | office | 51 | $(eval $(call generate-ipq-wifi-package,zyxel_wre6606,board-zyxel_wre6606.bin,ZyXEL WRE6606)) |
1 | office | 52 | #$(eval $(call generate-ipq-wifi-package,<devicename>,<filename>,<displayname>)) |
53 | |||
54 | $(foreach PACKAGE,$(ALLWIFIPACKAGES),$(eval $(call BuildPackage,$(PACKAGE)))) |