xref: /openbmc/linux/arch/arm/tools/Makefile (revision 7587eb18)
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