forked from plntyk/openwrt-zyxel_keenetic
-
Notifications
You must be signed in to change notification settings - Fork 3
/
0015-ramips-add-ZyXel-mt7620n-profiles.patch
76 lines (71 loc) · 2.42 KB
/
0015-ramips-add-ZyXel-mt7620n-profiles.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
From 8de745885d2ac3ff39edbe9b9b1b9ae0c944e453 Mon Sep 17 00:00:00 2001
From: Dirk Neukirchen <dirkneukirchen@web.de>
Date: Thu, 12 Feb 2015 10:36:31 +0100
Subject: [PATCH 15/19] ramips: add ZyXel mt7620n profiles
add support for
- ZyXel Keenetic LITE II
- ZyXel Keenetic OMNI
- change comment to english
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
---
target/linux/ramips/mt7620/profiles/zyxel.mk | 50 ++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 target/linux/ramips/mt7620/profiles/zyxel.mk
diff --git a/target/linux/ramips/mt7620/profiles/zyxel.mk b/target/linux/ramips/mt7620/profiles/zyxel.mk
new file mode 100644
index 0000000..690af1f
--- /dev/null
+++ b/target/linux/ramips/mt7620/profiles/zyxel.mk
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# for routers with USB:
+packages_KMOD_USB:=kmod-usb-core kmod-usb-rt305x-dwc_otg kmod-usb-ohci kmod-usb2 kmod-usb-storage kmod-ledtrig-usbdev
+packages_LUCI_USB:=luci-proto-3g
+packages_NET_USB:=kmod-usb-acm kmod-usb-net kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-option usb-modeswitch
+packages_FS_USB:=kmod-fs-ext4 kmod-nls-cp1251
+packages_USB:=$(packages_KMOD_USB) $(packages_LUCI_USB) $(packages_NET_USB) $(packages_FS_USB)
+
+# for routers without USB:
+# packages_FS_NET:=sshfs
+packages_NOUSB:=$(packages_FS_NET)
+packages_NOIPv6:=-kmod-ip6tables -kmod-ipv6 -odhcp6c -libip6tc
+
+packages_NET_ETHERNET:=xl2tpd ppp-mod-pptp
+packages_LUCI_GENERIC:=luci luci-i18n-russian
+packages_GENERIC:=kmod-ledtrig-netdev kmod-nls-utf8
+packages_IPv6:=luci-proto-ipv6
+
+packages_8M:=ntfs-3g kmod-fs-vfat zram-swap
+packages_4M:=-dropbear
+
+
+define Profile/KEENETIC_LITE_II
+ NAME:=ZyXEL Keenetic Lite II
+ PACKAGES:=$(packages_GENERIC) $(packages_NET_ETHERNET) $(packages_NOUSB) $(packages_IPv6) $(packages_LUCI_GENERIC) $(packages_8M)
+endef
+
+define Profile/KEENETIC_LITE_II/Description
+ Package set for ZyXEL Keenetic Lite II board
+endef
+
+$(eval $(call Profile,KEENETIC_LITE_II))
+
+
+define Profile/KEENETIC_OMNI
+ NAME:=ZyXEL Keenetic Omni
+ PACKAGES:=$(packages_GENERIC) $(packages_NET_ETHERNET) $(packages_USB) $(packages_IPv6) $(packages_LUCI_GENERIC) $(packages_8M)
+endef
+
+define Profile/KEENETIC_OMNI/Description
+ Package set for ZyXEL Keenetic Omni board
+endef
+
+$(eval $(call Profile,KEENETIC_OMNI))
--
2.3.0