blob: 6e4cd1867a9f5e915e31bc10395655931fcf18b6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# linux/arch/arm/tools/Makefile
3#
4# Copyright (C) 2001 Russell King
5#
6
Masahiro Yamada6e8ac722016-04-19 06:05:09 +01007quiet_cmd_gen_mach = GEN $@
8 cmd_gen_mach = mkdir -p $(dir $@) && \
9 $(AWK) -f $(filter-out $(PHONY),$^) > $@ || \
10 { rm -f $@; /bin/false; }
11
12include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
13 $(call if_changed,gen_mach)