Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux...
[linux-block.git] / arch / sh / tools / Makefile
CommitLineData
1da177e4
LT
1#
2# arch/sh/tools/Makefile
3#
4# Copyright (C) 2003 Paul Mundt
5#
6# This file is subject to the terms and conditions of the GNU General Public
7# License. See the file "COPYING" in the main directory of this archive
8# for more details.
9#
10# Shamelessly cloned from ARM.
11#
12
4385e12b 13include/asm-sh/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
1da177e4 14 @echo ' Generating $@'
4385e12b 15 $(Q)if [ ! -d include/asm-sh ]; then mkdir -p include/asm-sh; fi
1da177e4 16 $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }