summaryrefslogtreecommitdiffstats
path: root/share/mk/make.mk
blob: 7bbdc166f9e2e64ce5e290366f6880ffda25e200 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
########################################################################
# Copyright 2023, Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: GPL-3.0-or-later
########################################################################


ifndef MAKEFILE_MAKE_INCLUDED
MAKEFILE_MAKE_INCLUDED := 1


include $(MAKEFILEDIR)/cmd.mk


MK := $(srcdir)/Makefile
MK += $(shell $(FIND) $(MAKEFILEDIR) -type f \
	| $(GREP) '\.mk$$' \
	| $(SORT))


$(MK):: ;


endif  # include guard