Add .NOTPARALLEL to generated Makefile.

We don't want to add unnatural dependencies for patches, if for example both
patch A and B modify the same file, but the order of applying the patches doesn't
matter. Adding a dependency would cause trouble when excluding patches.
This commit is contained in:
Sebastian Lackner 2014-07-13 02:47:34 +02:00
parent df034abacb
commit 49bbdc5bf2
2 changed files with 4 additions and 0 deletions

View File

@ -224,6 +224,8 @@ def generate_makefile(patches, fp):
fp.write("abort:\n")
fp.write("\trm -f *.ok\n")
fp.write("\n")
fp.write(".NOTPARALLEL:\n")
fp.write("\n")
for i, patch in patches.iteritems():
fp.write("# Patchset %s\n" % patch.name)

View File

@ -34,6 +34,8 @@ install: $(PATCHLIST)
abort:
rm -f *.ok
.NOTPARALLEL:
# Patchset 00-Commandline
# |
# | Included patches: