From d8796e50f322ea81fb61ebfce60f3f4d82d0bf2c Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 10:49:48 -0700 Subject: ec: Rename Makefiles from .inc to .mk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Martin Roth Change-Id: Ic060f3605cd18d4bf774573c21957f626f984e2c Reviewed-on: https://review.coreboot.org/c/coreboot/+/80069 Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/ec/51nb/npce985la0dx/Makefile.inc | 22 ---------------------- src/ec/51nb/npce985la0dx/Makefile.mk | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 src/ec/51nb/npce985la0dx/Makefile.inc create mode 100644 src/ec/51nb/npce985la0dx/Makefile.mk (limited to 'src/ec/51nb') diff --git a/src/ec/51nb/npce985la0dx/Makefile.inc b/src/ec/51nb/npce985la0dx/Makefile.inc deleted file mode 100644 index cef41aae27..0000000000 --- a/src/ec/51nb/npce985la0dx/Makefile.inc +++ /dev/null @@ -1,22 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-or-later - -ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX),y) - -files_added:: -ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX_FIRMWARE),y) - $(CBFSTOOL) $(obj)/coreboot.rom write -r EC -f $(CONFIG_EC_51NB_NPCE985LA0DX_FW) --fill-upward -endif - -show_notices:: -ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX_FIRMWARE),) - printf "\n** WARNING **\n" - printf "You haven't added the firmware blobs for 51NB EC.\n" - printf "You may be unable to power on your laptop without these blobs.\n" - printf "Please select the following option to add them:\n\n" - printf " Chipset --->\n" - printf " [*] Add firmware images for 51NB EC\n\n" -endif - -ramstage-y += npce985la0dx.c - -endif diff --git a/src/ec/51nb/npce985la0dx/Makefile.mk b/src/ec/51nb/npce985la0dx/Makefile.mk new file mode 100644 index 0000000000..cef41aae27 --- /dev/null +++ b/src/ec/51nb/npce985la0dx/Makefile.mk @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX),y) + +files_added:: +ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX_FIRMWARE),y) + $(CBFSTOOL) $(obj)/coreboot.rom write -r EC -f $(CONFIG_EC_51NB_NPCE985LA0DX_FW) --fill-upward +endif + +show_notices:: +ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX_FIRMWARE),) + printf "\n** WARNING **\n" + printf "You haven't added the firmware blobs for 51NB EC.\n" + printf "You may be unable to power on your laptop without these blobs.\n" + printf "Please select the following option to add them:\n\n" + printf " Chipset --->\n" + printf " [*] Add firmware images for 51NB EC\n\n" +endif + +ramstage-y += npce985la0dx.c + +endif -- cgit v1.2.3