2005-04-16 18:20:36 -04: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.
|
|
|
|
#
|
|
|
|
|
2009-10-17 16:20:22 -04:00
|
|
|
include/generated/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
|
2005-04-16 18:20:36 -04:00
|
|
|
@echo ' Generating $@'
|
2009-10-17 16:20:22 -04:00
|
|
|
$(Q)mkdir -p $(dir $@)
|
2010-01-08 06:25:37 -05:00
|
|
|
$(Q)LC_ALL=C $(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }
|