diff options
author | Andi Kleen <ak@linux.intel.com> | 2022-08-15 00:48:36 -0700 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2022-08-15 00:48:36 -0700 |
commit | 4e3e8fe76f4ebcb8d75a63b7eb71268d0db88cee (patch) | |
tree | b564ead90f4cd260f73a86fa85693c14c5d800f8 | |
parent | 523560f1770d25dddaceebcd4e8714bc4ddd204c (diff) | |
download | mcelog-4e3e8fe76f4ebcb8d75a63b7eb71268d0db88cee.tar.gz |
Fix generation of cputype filesv188
Use a grouped rule to indicate to make that the same command generates
both files, instead of rerunning the rule multiple times which causes
all kind of races in parallel builds.
Also use the correct input dependency for the source file
Thanks to Ben Kohler for persistent reports
Fixes #106
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ version.tmp: FORCE version.c: version.tmp cmp version.tmp version.c || mv version.tmp version.c -cputype.tmp lookup_intel_cputype.tmp: FORCE +cputype.tmp lookup_intel_cputype.tmp &: cputype.table ./mkcputype cputype.h: cputype.tmp |