kbuild: prevent make from deleting _shipped files
authorPeter Foley <pefoley2@verizon.net>
Sun, 31 Jul 2011 18:45:40 +0000 (14:45 -0400)
committerMichal Marek <mmarek@suse.cz>
Wed, 31 Aug 2011 14:35:56 +0000 (16:35 +0200)
commit58238c81443a83922e07b409e54ec93ce909b6ac
treec4c48f020d1beb57ccd8b3443c870c35ad7e48e0
parentf4b129f519f1bbd191dca2bf17d1137edf941fd1
kbuild: prevent make from deleting _shipped files

commit 7373f4f (kbuild: add implicit rules for parser generation)
created a implicit rule chain (%.c: %.c_shipped: %.y).
Make considers the _shipped files to be intermediate files which
causes them to be deleted if they didn't exist before make was run.
Mark the _shipped files PRECIOUS to prevent make from deleting them.

Signed-off-by: Peter Foley <pefoley2@verizon.net>
Acked-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.lib