| 1 | # |
| 2 | # Copyright (C) 2006-2010 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | define AddDepends/nls |
| 9 | DEPENDS+= +kmod-nls-base |
| 10 | endef |
| 11 | |
| 12 | define KernelPackage/nls-base |
| 13 | SUBMENU:=Native Language Support |
| 14 | TITLE:=Native Language Support |
| 15 | KCONFIG:=CONFIG_NLS |
| 16 | FILES:=$(LINUX_DIR)/fs/nls/nls_base.ko |
| 17 | AUTOLOAD:=$(call AutoLoad,20,nls_base,1) |
| 18 | endef |
| 19 | |
| 20 | define KernelPackage/nls-base/description |
| 21 | Kernel module for NLS (Native Language Support) |
| 22 | endef |
| 23 | |
| 24 | $(eval $(call KernelPackage,nls-base)) |
| 25 | |
| 26 | |
| 27 | define KernelPackage/nls-cp437 |
| 28 | SUBMENU:=Native Language Support |
| 29 | TITLE:=Codepage 437 (United States, Canada) |
| 30 | KCONFIG:=CONFIG_NLS_CODEPAGE_437 |
| 31 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.ko |
| 32 | AUTOLOAD:=$(call AutoLoad,25,nls_cp437) |
| 33 | $(call AddDepends/nls) |
| 34 | endef |
| 35 | |
| 36 | define KernelPackage/nls-cp437/description |
| 37 | Kernel module for NLS Codepage 437 (United States, Canada) |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call KernelPackage,nls-cp437)) |
| 41 | |
| 42 | |
| 43 | define KernelPackage/nls-cp775 |
| 44 | SUBMENU:=Native Language Support |
| 45 | TITLE:=Codepage 775 (Baltic Rim) |
| 46 | KCONFIG:=CONFIG_NLS_CODEPAGE_775 |
| 47 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.ko |
| 48 | AUTOLOAD:=$(call AutoLoad,25,nls_cp775) |
| 49 | $(call AddDepends/nls) |
| 50 | endef |
| 51 | |
| 52 | define KernelPackage/nls-cp775/description |
| 53 | Kernel module for NLS Codepage 775 (Baltic Rim) |
| 54 | endef |
| 55 | |
| 56 | $(eval $(call KernelPackage,nls-cp775)) |
| 57 | |
| 58 | |
| 59 | define KernelPackage/nls-cp850 |
| 60 | SUBMENU:=Native Language Support |
| 61 | TITLE:=Codepage 850 (Europe) |
| 62 | KCONFIG:=CONFIG_NLS_CODEPAGE_850 |
| 63 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.ko |
| 64 | AUTOLOAD:=$(call AutoLoad,25,nls_cp850) |
| 65 | $(call AddDepends/nls) |
| 66 | endef |
| 67 | |
| 68 | define KernelPackage/nls-cp850/description |
| 69 | Kernel module for NLS Codepage 850 (Europe) |
| 70 | endef |
| 71 | |
| 72 | $(eval $(call KernelPackage,nls-cp850)) |
| 73 | |
| 74 | |
| 75 | define KernelPackage/nls-cp852 |
| 76 | SUBMENU:=Native Language Support |
| 77 | TITLE:=Codepage 852 (Europe) |
| 78 | KCONFIG:=CONFIG_NLS_CODEPAGE_852 |
| 79 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.ko |
| 80 | AUTOLOAD:=$(call AutoLoad,25,nls_cp852) |
| 81 | $(call AddDepends/nls) |
| 82 | endef |
| 83 | |
| 84 | define KernelPackage/nls-cp852/description |
| 85 | Kernel module for NLS Codepage 852 (Europe) |
| 86 | endef |
| 87 | |
| 88 | $(eval $(call KernelPackage,nls-cp852)) |
| 89 | |
| 90 | |
| 91 | define KernelPackage/nls-cp866 |
| 92 | SUBMENU:=Native Language Support |
| 93 | TITLE:=Codepage 866 (Cyrillic) |
| 94 | KCONFIG:=CONFIG_NLS_CODEPAGE_866 |
| 95 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp866.ko |
| 96 | AUTOLOAD:=$(call AutoLoad,25,nls_cp866) |
| 97 | $(call AddDepends/nls) |
| 98 | endef |
| 99 | |
| 100 | define KernelPackage/nls-cp866/description |
| 101 | Kernel module for NLS Codepage 866 (Cyrillic) |
| 102 | endef |
| 103 | |
| 104 | $(eval $(call KernelPackage,nls-cp866)) |
| 105 | |
| 106 | |
| 107 | define KernelPackage/nls-cp1250 |
| 108 | SUBMENU:=Native Language Support |
| 109 | TITLE:=Codepage 1250 (Eastern Europe) |
| 110 | KCONFIG:=CONFIG_NLS_CODEPAGE_1250 |
| 111 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.ko |
| 112 | AUTOLOAD:=$(call AutoLoad,25,nls_cp1250) |
| 113 | $(call AddDepends/nls) |
| 114 | endef |
| 115 | |
| 116 | define KernelPackage/nls-cp1250/description |
| 117 | Kernel module for NLS Codepage 1250 (Eastern Europe) |
| 118 | endef |
| 119 | |
| 120 | $(eval $(call KernelPackage,nls-cp1250)) |
| 121 | |
| 122 | |
| 123 | define KernelPackage/nls-cp1251 |
| 124 | SUBMENU:=Native Language Support |
| 125 | TITLE:=Codepage 1251 (Russian) |
| 126 | KCONFIG:=CONFIG_NLS_CODEPAGE_1251 |
| 127 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.ko |
| 128 | AUTOLOAD:=$(call AutoLoad,25,nls_cp1251) |
| 129 | $(call AddDepends/nls) |
| 130 | endef |
| 131 | |
| 132 | define KernelPackage/nls-cp1251/description |
| 133 | Kernel module for NLS Codepage 1251 (Russian) |
| 134 | endef |
| 135 | |
| 136 | $(eval $(call KernelPackage,nls-cp1251)) |
| 137 | |
| 138 | |
| 139 | define KernelPackage/nls-iso8859-1 |
| 140 | SUBMENU:=Native Language Support |
| 141 | TITLE:=ISO 8859-1 (Latin 1; Western European Languages) |
| 142 | KCONFIG:=CONFIG_NLS_ISO8859_1 |
| 143 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.ko |
| 144 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1) |
| 145 | $(call AddDepends/nls) |
| 146 | endef |
| 147 | |
| 148 | define KernelPackage/nls-iso8859-1/description |
| 149 | Kernel module for NLS ISO 8859-1 (Latin 1) |
| 150 | endef |
| 151 | |
| 152 | $(eval $(call KernelPackage,nls-iso8859-1)) |
| 153 | |
| 154 | |
| 155 | define KernelPackage/nls-iso8859-2 |
| 156 | SUBMENU:=Native Language Support |
| 157 | TITLE:=ISO 8859-2 (Latin 2; Central European Languages) |
| 158 | KCONFIG:=CONFIG_NLS_ISO8859_2 |
| 159 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.ko |
| 160 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2) |
| 161 | $(call AddDepends/nls) |
| 162 | endef |
| 163 | |
| 164 | define KernelPackage/nls-iso8859-2/description |
| 165 | Kernel module for NLS ISO 8859-2 (Latin 2) |
| 166 | endef |
| 167 | |
| 168 | $(eval $(call KernelPackage,nls-iso8859-2)) |
| 169 | |
| 170 | |
| 171 | define KernelPackage/nls-iso8859-13 |
| 172 | SUBMENU:=Native Language Support |
| 173 | TITLE:=ISO 8859-13 (Latin 7; Baltic) |
| 174 | KCONFIG:=CONFIG_NLS_ISO8859_13 |
| 175 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.ko |
| 176 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13) |
| 177 | $(call AddDepends/nls) |
| 178 | endef |
| 179 | |
| 180 | define KernelPackage/nls-iso8859-13/description |
| 181 | Kernel module for NLS ISO 8859-13 (Latin 7; Baltic) |
| 182 | endef |
| 183 | |
| 184 | $(eval $(call KernelPackage,nls-iso8859-13)) |
| 185 | |
| 186 | |
| 187 | define KernelPackage/nls-iso8859-15 |
| 188 | SUBMENU:=Native Language Support |
| 189 | TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol) |
| 190 | KCONFIG:=CONFIG_NLS_ISO8859_15 |
| 191 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.ko |
| 192 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15) |
| 193 | $(call AddDepends/nls) |
| 194 | endef |
| 195 | |
| 196 | define KernelPackage/nls-iso8859-15/description |
| 197 | Kernel module for NLS ISO 8859-15 (Latin 9) |
| 198 | endef |
| 199 | |
| 200 | $(eval $(call KernelPackage,nls-iso8859-15)) |
| 201 | |
| 202 | |
| 203 | define KernelPackage/nls-koi8r |
| 204 | SUBMENU:=Native Language Support |
| 205 | TITLE:=KOI8-R (Russian) |
| 206 | KCONFIG:=CONFIG_NLS_KOI8_R |
| 207 | FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.ko |
| 208 | AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r) |
| 209 | $(call AddDepends/nls) |
| 210 | endef |
| 211 | |
| 212 | define KernelPackage/nls-koi8r/description |
| 213 | Kernel module for NLS KOI8-R (Russian) |
| 214 | endef |
| 215 | |
| 216 | $(eval $(call KernelPackage,nls-koi8r)) |
| 217 | |
| 218 | |
| 219 | define KernelPackage/nls-utf8 |
| 220 | SUBMENU:=Native Language Support |
| 221 | TITLE:=UTF-8 |
| 222 | KCONFIG:=CONFIG_NLS_UTF8 |
| 223 | FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.ko |
| 224 | AUTOLOAD:=$(call AutoLoad,25,nls_utf8) |
| 225 | $(call AddDepends/nls) |
| 226 | endef |
| 227 | |
| 228 | define KernelPackage/nls-utf8/description |
| 229 | Kernel module for NLS UTF-8 |
| 230 | endef |
| 231 | |
| 232 | $(eval $(call KernelPackage,nls-utf8)) |
| 233 | |