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