Skip to content
Commit 8cb661d6 authored by Erik Johansson's avatar Erik Johansson Committed by Paul Mundt
Browse files

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: default avatarErik Johansson <erik.johansson@motorola.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0caf3ead
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