2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# arch/sh/tools/Makefile
|
|
|
|
#
|
|
|
|
# Copyright (C) 2003 Paul Mundt
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
# License. See the file "COPYING" in the main directory of this archive
|
|
|
|
# for more details.
|
|
|
|
#
|
|
|
|
# Shamelessly cloned from ARM.
|
|
|
|
#
|
|
|
|
|
|
|
|
include/asm-sh/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
|
|
|
|
@echo ' Generating $@'
|
2007-07-12 15:37:00 +08:00
|
|
|
$(Q)if [ ! -d include/asm-sh ]; then mkdir -p include/asm-sh; fi
|
2005-04-17 06:20:36 +08:00
|
|
|
$(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }
|