[LinuxPPS] 8 Oct 23:06 - Correct Makefile rule for generating
custom keymap
linuxpps: Maarten Bressers <>
webmaster at enneenne.com
Fri Oct 19 19:30:09 CEST 2007
Correct Makefile rule for generating custom keymap
When building a custom keymap, after setting GENERATE_KEYMAP := 1 in
drivers/char/Makefile, the kernel build fails like this:
CC drivers/char/vt.o
make[2]: *** No rule to make target `drivers/char/%.map', needed by `drivers/char/defkeymap.c'. Stop.
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
This was caused by commit af8b128719f5248e542036ea994610a29d0642a6, which
deleted a necessary colon from the Makefile rule that generates the keymap,
since that rule contains both a target and a target-pattern. The following
patch puts the colon back:
Signed-off-by: Maarten Bressers
Cc: Yoichi Yuasa
Cc: Ralf Baechle
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
drivers/char/Makefile
URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=e2a57a815933b2d2e375f9de6be223098024ab90
More information about the LinuxPPS
mailing list