Makefiles: Rename top-level Makefiles from .inc to .mk
The .inc suffix is confusing to various tools as it's not specific to Makefiles. This means that editors don't recognize the files, and don't open them with highlighting and any other specific editor functionality. This issue is also seen in the release notes generation script where Makefiles get renamed before running cloc. The rest of the Makefiles will be renamed in following commits. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Idaf69c6871d0bc1ee5e2e53157b8631c55eb3db9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80063 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
792ed6353a
commit
e3df18451c
10 changed files with 19 additions and 15 deletions
|
|
@ -103,7 +103,7 @@ endif
|
|||
|
||||
# This include must come _before_ the pattern rules below!
|
||||
# Order _does_ matter for pattern rules.
|
||||
include $(srck)/Makefile.inc
|
||||
include $(srck)/Makefile.mk
|
||||
|
||||
include $(HAVE_DOTCONFIG)
|
||||
|
||||
|
|
@ -127,7 +127,7 @@ ARCH-$(CONFIG_LP_ARCH_MOCK) := mock
|
|||
# 3. when make distclean is run
|
||||
# 4. when make help% or make clean% is run
|
||||
# 5. when make %-test or make %-tests or make %coverage-report is run
|
||||
# Don't waste time on reading all Makefile.incs in these cases
|
||||
# Don't waste time on reading all Makefiles in these cases
|
||||
ifeq ($(strip $(HAVE_DOTCONFIG)),)
|
||||
NOCOMPILE := 1
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue