Ignore the UKBD_DFLT_KEYMAP option when compiling as a module.
The parallel LINT build sometimes broke if kernel-depend wasn't fast enough in generating ukbdmap.h. If someone thinks this option would still be useful for the module, a proper fix is to add the code generating ukbdmap.h into modules/ukbd/Makefile and backing this change out.
This commit is contained in:
parent
b69f71eb29
commit
1997f96b85
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162959
@ -421,7 +421,7 @@ static int keycode2scancode(int keycode, int shift, int up);
|
||||
/* local variables */
|
||||
|
||||
/* the initial key map, accent map and fkey strings */
|
||||
#ifdef UKBD_DFLT_KEYMAP
|
||||
#if defined(UKBD_DFLT_KEYMAP) && !defined(KLD_MODULE)
|
||||
#define KBD_DFLT_KEYMAP
|
||||
#include "ukbdmap.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user