Skip to content
Commit 58238c81 authored by Peter Foley's avatar Peter Foley Committed by Michal Marek
Browse files

kbuild: prevent make from deleting _shipped files



commit 7373f4f8 (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: default avatarPeter Foley <pefoley2@verizon.net>
Acked-by: default avatarArnaud Lacombe <lacombar@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent f4b129f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment