xref: /linux/arch/arm/tools/Makefile (revision bb9707077b4ee5f77bc9939b057ff8a0d410296f)
1#
2# linux/arch/arm/tools/Makefile
3#
4# Copyright (C) 2001 Russell King
5#
6
7quiet_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)
14