Page MenuHomeFreeBSD

simplify compile-time default keyboard map generation
ClosedPublic

Authored by emaste on Mar 22 2016, 8:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 3:48 PM
Unknown Object (File)
Thu, Dec 5, 7:36 PM
Unknown Object (File)
Wed, Dec 4, 8:31 PM
Unknown Object (File)
Tue, Nov 26, 7:33 AM
Unknown Object (File)
Nov 3 2024, 1:10 PM
Unknown Object (File)
Oct 27 2024, 1:31 AM
Unknown Object (File)
Oct 11 2024, 9:47 AM
Unknown Object (File)
Oct 2 2024, 7:57 AM
Subscribers

Details

Summary

In rS296926 the -P <path> option was added to kbdcontrol, in order to simplify building compile-time default keymaps. Make kbdcontrol a build tool to use the new -P support.

PR: 193865

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to simplify compile-time default keyboard map generation.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: bdrewery, op.

Looks good to me, but not yet tested (I will at weekend.).

Btw, other architectures are not affected?
Or would not be better to move the generation of this file to the generic config rather then keeping them in arch specific files?

op edited edge metadata.

Tested with these settings:

  • built SC kernel on VT kernel:
makeoptions KBDMUX_DFLT_KEYMAP="us.pc-ctrl"
makeoptions UKBD_DFLT_KEYMAP="us.pc-ctrl"
makeoptions ATKBD_DFLT_KEYMAP="us.pc-ctrl"
  • built VT kernel on SC kernel:
makeoptions KBDMUX_DFLT_KEYMAP="us.ctrl"
makeoptions UKBD_DFLT_KEYMAP="us.ctrl"
makeoptions ATKBD_DFLT_KEYMAP="us.ctrl"
  • built VT kernel on VT kernel:
makeoptions KBDMUX_DFLT_KEYMAP="us.ctrl"
makeoptions UKBD_DFLT_KEYMAP="us.ctrl"
makeoptions ATKBD_DFLT_KEYMAP="us.ctrl"

Btw, it would be nice to MFC this change to 10-STABLE too.

This revision is now accepted and ready to land.Mar 28 2016, 7:14 PM
This revision was automatically updated to reflect the committed changes.

Btw, it would be nice to MFC this change to 10-STABLE too.

Yes, I intend to bring in an updated version of the kbdmux keymap change, and merge all of the kbdmap changes to stable/10 in a while.