xref: /kernel/linux/linux-5.10/arch/sh/tools/Makefile (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci#
28c2ecf20Sopenharmony_ci# arch/sh/tools/Makefile
38c2ecf20Sopenharmony_ci#
48c2ecf20Sopenharmony_ci# Copyright (C) 2003  Paul Mundt
58c2ecf20Sopenharmony_ci#
68c2ecf20Sopenharmony_ci# This file is subject to the terms and conditions of the GNU General Public
78c2ecf20Sopenharmony_ci# License.  See the file "COPYING" in the main directory of this archive
88c2ecf20Sopenharmony_ci# for more details.
98c2ecf20Sopenharmony_ci#
108c2ecf20Sopenharmony_ci# Shamelessly cloned from ARM.
118c2ecf20Sopenharmony_ci#
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciinclude/generated/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
148c2ecf20Sopenharmony_ci	@echo '  Generating $@'
158c2ecf20Sopenharmony_ci	$(Q)mkdir -p $(dir $@)
168c2ecf20Sopenharmony_ci	$(Q)LC_ALL=C $(AWK) -f $^ > $@
17