]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: fix race in parallel out-of-tree build
authorErik Johansson <erik.johansson@motorola.com>
Thu, 12 Jul 2007 07:37:00 +0000 (16:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jul 2007 07:37:00 +0000 (16:37 +0900)
commit8cb661d6a4b69734c393beeb523cbf86c915f374
tree1c99adf454101d534f0017c668841fda85adc58b
parent0caf3ead5131215cbd462d31f7658798030f793d
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>
arch/sh/tools/Makefile