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, Nov 3, 1:10 PM
Unknown Object (File)
Sun, Oct 27, 1:31 AM
Unknown Object (File)
Oct 11 2024, 9:47 AM
Unknown Object (File)
Oct 2 2024, 7:57 AM
Unknown Object (File)
Sep 24 2024, 11:07 AM
Unknown Object (File)
Sep 12 2024, 3:09 AM
Unknown Object (File)
Sep 9 2024, 1:14 AM
Unknown Object (File)
Sep 7 2024, 10:12 PM
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.