diff options
author | Martin Roth <gaumless@gmail.com> | 2024-01-18 10:25:18 -0700 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-01-24 08:31:31 +0000 |
commit | e3df18451c518c0019f35b9b4d5d06ff6bd3d5f2 (patch) | |
tree | 13a23881f359fc3b7254fec3359805601512effa /payloads/Makefile.inc | |
parent | 792ed6353a80fcebbc74f8a34e37c10eaf6ff62b (diff) |
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>
Diffstat (limited to 'payloads/Makefile.inc')
-rw-r--r-- | payloads/Makefile.inc | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/payloads/Makefile.inc b/payloads/Makefile.inc deleted file mode 100644 index a2336aa876..0000000000 --- a/payloads/Makefile.inc +++ /dev/null @@ -1,64 +0,0 @@ -## -## -## Copyright (C) 2016 Google Inc. -## -## SPDX-License-Identifier: GPL-2.0-only - -cbfs-files-$(CONFIG_COREINFO_SECONDARY_PAYLOAD) += img/coreinfo -img/coreinfo-file := payloads/coreinfo/build/coreinfo.elf -img/coreinfo-type := payload -img/coreinfo-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG) - -cbfs-files-$(CONFIG_NVRAMCUI_SECONDARY_PAYLOAD) += img/nvramcui -img/nvramcui-file := payloads/nvramcui/build/nvramcui.elf -img/nvramcui-type := payload -img/nvramcui-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG) - -PAYLOADS_LIST=\ -payloads/coreinfo \ -payloads/nvramcui \ -payloads/libpayload \ -payloads/external/depthcharge \ -payloads/external/SeaBIOS \ -payloads/external/U-Boot \ -payloads/external/Memtest86Plus \ -payloads/external/iPXE \ -payloads/external/tint \ -payloads/external/edk2 \ -payloads/external/GRUB2 \ -payloads/external/LinuxBoot \ -payloads/external/skiboot \ -payloads/external/coreDOOM \ - -force-payload: - -payloads/coreinfo/build/coreinfo.elf coreinfo: export CCACHE := $(CCACHE) -payloads/coreinfo/build/coreinfo.elf coreinfo: force-payload - $(MAKE) -C payloads/coreinfo defaultbuild - -payloads/nvramcui/build/nvramcui.elf nvramcui: export CCACHE := $(CCACHE) -payloads/nvramcui/build/nvramcui.elf nvramcui: force-payload - $(MAKE) -C payloads/nvramcui - -clean-payloads: - $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) clean; ) - -distclean-payloads: - $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) distclean; ) - -print-repo-info-payloads: - -$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) print-repo-info 2>/dev/null; ) - -ifeq ($(CONFIG_PAYLOAD_NONE),y) -show_notices:: warn_no_payload -endif - -warn_no_payload: - printf "\n\t** WARNING **\n" - printf "coreboot has been built without a payload. Writing\n" - printf "a coreboot image without a payload to your board's\n" - printf "flash chip will result in a non-booting system. You\n" - printf "can use cbfstool to add a payload to the image.\n\n" - -.PHONY: force-payload coreinfo nvramcui -.PHONY: clean-payloads distclean-payloads print-repo-info-payloads warn_no_payload |