kbuild: simplify the %_shipped rule
authorArnaud Lacombe <lacombar@gmail.com>
Tue, 7 Jun 2011 17:09:28 +0000 (13:09 -0400)
committerArnaud Lacombe <lacombar@gmail.com>
Thu, 9 Jun 2011 18:04:39 +0000 (14:04 -0400)
This is needed to have make(1) correctly link the implicit rules which
generate the _shipped file from the lexer/parser to the final file.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

scripts/Makefile.lib

index b0d0c7a..aeea84a 100644 (file)
@@ -204,7 +204,7 @@ endif
 quiet_cmd_shipped = SHIPPED $@
 cmd_shipped = cat $< > $@
 
-$(obj)/%:: $(src)/%_shipped
+$(obj)/%: $(src)/%_shipped
        $(call cmd,shipped)
 
 # Commands useful for building a boot image