config.mk 994 Bytes
Newer Older
Michael Shigorin's avatar
Michael Shigorin committed
1 2 3 4 5 6 7 8 9
# install locales
# setup locale
# setup console keyboard (kbd)
# setup X11 keyboard (xkb)
# install/setup additional packages

# TODO: KEYMAP for default keymap?
use/l10n:
	@$(call add_feature)
10
	@$(call add,THE_LISTS,$(call tags,base l10n))
Michael Shigorin's avatar
Michael Shigorin committed
11 12
	@$(call add,LOCALES,en_US)
	@$(call add,XKB_KEYMAPS,us)
13
	@$(call try,LOCALE,en_US)
Michael Shigorin's avatar
Michael Shigorin committed
14 15 16 17 18 19 20 21 22
	@$(call xport,LOCALE)
	@$(call xport,LOCALES)
	@$(call xport,XKB_KEYMAPS)
	@$(call xport,XKB_SWITCH)

# see also alterator-sysconfig backend
use/l10n/xkb/switch/ctrl_shift: use/l10n
	@$(call set,XKB_SWITCH,grp:ctrl_shift_toggle)

23 24 25
use/l10n/xkb/switch/alt_shift: use/l10n
	@$(call set,XKB_SWITCH,grp:alt_shift_toggle)

Michael Shigorin's avatar
Michael Shigorin committed
26
# FIXME: derive from locale by default if possible
27
use/l10n/ru_RU: use/l10n/xkb/switch/alt_shift
Michael Shigorin's avatar
Michael Shigorin committed
28 29 30
	@$(call add,LOCALES,ru_RU)
	@$(call set,LOCALE,ru_RU)
	@$(call add,XKB_KEYMAPS,ru)
31
	@$(call set,KEYTABLE,ruwin_alt_sh-UTF-8)
Michael Shigorin's avatar
Michael Shigorin committed
32 33 34 35

# NB: BOOT_LANG is used within mkimage internally
use/l10n/default/ru_RU: use/l10n/ru_RU
	@$(call set,GLOBAL_BOOT_LANG,ru_RU)