commit | 8cb661d6a4b69734c393beeb523cbf86c915f374 | [log] [tgz] |
---|---|---|
author | Erik Johansson <erik.johansson@motorola.com> | Thu Jul 12 16:37:00 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Thu Jul 12 16:37:00 2007 +0900 |
tree | 1c99adf454101d534f0017c668841fda85adc58b | |
parent | 0caf3ead5131215cbd462d31f7658798030f793d [diff] |
sh: fix race in parallel out-of-tree build Depending on which of the three dependencies for archprepare (in arch/sh/Makefile) get built first, the directory include/asm-sh may or may not exist when the maketools target is built. If the directory does not exist, awk will fail to generate machtypes.h. This patch fixes this by creating the directory before awk is executed. Signed-off-by: Erik Johansson <erik.johansson@motorola.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>