xref: /linux/arch/arm/tools/Makefile (revision 6e8ac724bf45d116195d57fbe3a949f570c35635)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# linux/arch/arm/tools/Makefile
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds# Copyright (C) 2001 Russell King
51da177e4SLinus Torvalds#
61da177e4SLinus Torvalds
7*6e8ac724SMasahiro Yamadaquiet_cmd_gen_mach = GEN     $@
8*6e8ac724SMasahiro Yamada      cmd_gen_mach = mkdir -p $(dir $@) && \
9*6e8ac724SMasahiro Yamada		     $(AWK) -f $(filter-out $(PHONY),$^) > $@ || \
10*6e8ac724SMasahiro Yamada		     { rm -f $@; /bin/false; }
11*6e8ac724SMasahiro Yamada
12*6e8ac724SMasahiro Yamadainclude/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
13*6e8ac724SMasahiro Yamada	$(call if_changed,gen_mach)
14