summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2005-03-11 00:19:04 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2005-03-11 00:19:04 +0100
commitc6d69cd4e07b6eaa3c27b0ab885dfa6e63ffc98a (patch)
tree36b9021a9cfa2b57da3f86d23fa591881b6feabc
parenta0e1b007dd53c2e106c4a671514859c1766aff27 (diff)
video/console: fix spurious rebuild
kbuild does have troubles with assignmnets including '#'. The '#' is seen as a comment marker and this will in the end cause kbuild to think the commandline to build promcon_tbl.c has changed. This happens because the commandline is stored in the file: .promcon_tbl.c.cmd Although a bit complex the command to build promcon_tbl.c is unlikely to change so the workaround is to skip the check for a changed commandline. Now promcon_tbl.c is only rebuilt if the .uni file is newer than the .c file. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r--drivers/video/console/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console/Makefile b/drivers/video/console/Makefile
index e5fa93b68043..6ed7d743e0fa 100644
--- a/drivers/video/console/Makefile
+++ b/drivers/video/console/Makefile
@@ -37,5 +37,5 @@ quiet_cmd_conmakehash = CNMKHSH $@
sed -e '/\#include <[^>]*>/p' -e 's/types/init/' \
-e 's/dfont\(_uni.*\]\)/promfont\1 __initdata/' > $@
-$(obj)/promcon_tbl.c: $(src)/prom.uni FORCE
- $(call if_changed,conmakehash)
+$(obj)/promcon_tbl.c: $(src)/prom.uni
+ $(call cmd,conmakehash)