summaryrefslogtreecommitdiffstats
path: root/arch/arm/tools/Makefile
blob: 6e4cd1867a9f5e915e31bc10395655931fcf18b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# linux/arch/arm/tools/Makefile
#
# Copyright (C) 2001 Russell King
#

quiet_cmd_gen_mach = GEN     $@
      cmd_gen_mach = mkdir -p $(dir $@) && \
		     $(AWK) -f $(filter-out $(PHONY),$^) > $@ || \
		     { rm -f $@; /bin/false; }

include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
	$(call if_changed,gen_mach)