From 4f1786dcacbcb09bd09638616e8aa1b60125d626 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 10:41:47 -0700 Subject: vendorcode: 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: I80559b7c86a8fd2583cb0335279f676e0aa0209e Reviewed-on: https://review.coreboot.org/c/coreboot/+/80067 Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer Reviewed-by: Michael Niewöhner Reviewed-by: Erik van den Bogaert --- src/vendorcode/mediatek/Makefile.inc | 2 -- src/vendorcode/mediatek/Makefile.mk | 2 ++ src/vendorcode/mediatek/mt8192/Makefile.inc | 5 ----- src/vendorcode/mediatek/mt8192/Makefile.mk | 5 +++++ src/vendorcode/mediatek/mt8192/dramc/Makefile.inc | 21 --------------------- src/vendorcode/mediatek/mt8192/dramc/Makefile.mk | 21 +++++++++++++++++++++ src/vendorcode/mediatek/mt8195/Makefile.inc | 6 ------ src/vendorcode/mediatek/mt8195/Makefile.mk | 6 ++++++ src/vendorcode/mediatek/mt8195/dramc/Makefile.inc | 22 ---------------------- src/vendorcode/mediatek/mt8195/dramc/Makefile.mk | 22 ++++++++++++++++++++++ 10 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 src/vendorcode/mediatek/Makefile.inc create mode 100644 src/vendorcode/mediatek/Makefile.mk delete mode 100644 src/vendorcode/mediatek/mt8192/Makefile.inc create mode 100644 src/vendorcode/mediatek/mt8192/Makefile.mk delete mode 100644 src/vendorcode/mediatek/mt8192/dramc/Makefile.inc create mode 100644 src/vendorcode/mediatek/mt8192/dramc/Makefile.mk delete mode 100644 src/vendorcode/mediatek/mt8195/Makefile.inc create mode 100644 src/vendorcode/mediatek/mt8195/Makefile.mk delete mode 100644 src/vendorcode/mediatek/mt8195/dramc/Makefile.inc create mode 100644 src/vendorcode/mediatek/mt8195/dramc/Makefile.mk (limited to 'src/vendorcode/mediatek') diff --git a/src/vendorcode/mediatek/Makefile.inc b/src/vendorcode/mediatek/Makefile.inc deleted file mode 100644 index 6befcdecef..0000000000 --- a/src/vendorcode/mediatek/Makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -subdirs-$(CONFIG_SOC_MEDIATEK_MT8192) += mt8192 -subdirs-$(CONFIG_SOC_MEDIATEK_MT8195) += mt8195 diff --git a/src/vendorcode/mediatek/Makefile.mk b/src/vendorcode/mediatek/Makefile.mk new file mode 100644 index 0000000000..6befcdecef --- /dev/null +++ b/src/vendorcode/mediatek/Makefile.mk @@ -0,0 +1,2 @@ +subdirs-$(CONFIG_SOC_MEDIATEK_MT8192) += mt8192 +subdirs-$(CONFIG_SOC_MEDIATEK_MT8195) += mt8195 diff --git a/src/vendorcode/mediatek/mt8192/Makefile.inc b/src/vendorcode/mediatek/mt8192/Makefile.inc deleted file mode 100644 index dd6aa6f93c..0000000000 --- a/src/vendorcode/mediatek/mt8192/Makefile.inc +++ /dev/null @@ -1,5 +0,0 @@ -subdirs-y += dramc - -CPPFLAGS_common += -Isrc/soc/mediatek/mt8192/include -CPPFLAGS_common += -Isrc/soc/mediatek/common/include -CPPFLAGS_common += -Isrc/vendorcode/mediatek/mt8192/include diff --git a/src/vendorcode/mediatek/mt8192/Makefile.mk b/src/vendorcode/mediatek/mt8192/Makefile.mk new file mode 100644 index 0000000000..dd6aa6f93c --- /dev/null +++ b/src/vendorcode/mediatek/mt8192/Makefile.mk @@ -0,0 +1,5 @@ +subdirs-y += dramc + +CPPFLAGS_common += -Isrc/soc/mediatek/mt8192/include +CPPFLAGS_common += -Isrc/soc/mediatek/common/include +CPPFLAGS_common += -Isrc/vendorcode/mediatek/mt8192/include diff --git a/src/vendorcode/mediatek/mt8192/dramc/Makefile.inc b/src/vendorcode/mediatek/mt8192/dramc/Makefile.inc deleted file mode 100644 index 1c4870a860..0000000000 --- a/src/vendorcode/mediatek/mt8192/dramc/Makefile.inc +++ /dev/null @@ -1,21 +0,0 @@ -romstage-y += emi.c - -romstage-y += ANA_init_config.c -romstage-y += DIG_NONSHUF_config.c -romstage-y += DIG_SHUF_config.c -romstage-y += dramc_actiming.c -romstage-y += dramc_dv_freq_related.c -romstage-y += dramc_dvfs.c -romstage-y += dramc_lowpower.c -romstage-y += DRAM_config_collctioin.c -romstage-y += dramc_pi_basic_api.c -romstage-y += dramc_pi_calibration_api.c -romstage-y += dramc_pi_main.c -romstage-y += DRAMC_SUBSYS_config.c -romstage-y += dramc_top.c -romstage-y += dramc_tracking.c -romstage-y += dramc_utility.c -romstage-y += Hal_io.c -romstage-y += LP4_dram_init.c - -ramstage-y += emi.c diff --git a/src/vendorcode/mediatek/mt8192/dramc/Makefile.mk b/src/vendorcode/mediatek/mt8192/dramc/Makefile.mk new file mode 100644 index 0000000000..1c4870a860 --- /dev/null +++ b/src/vendorcode/mediatek/mt8192/dramc/Makefile.mk @@ -0,0 +1,21 @@ +romstage-y += emi.c + +romstage-y += ANA_init_config.c +romstage-y += DIG_NONSHUF_config.c +romstage-y += DIG_SHUF_config.c +romstage-y += dramc_actiming.c +romstage-y += dramc_dv_freq_related.c +romstage-y += dramc_dvfs.c +romstage-y += dramc_lowpower.c +romstage-y += DRAM_config_collctioin.c +romstage-y += dramc_pi_basic_api.c +romstage-y += dramc_pi_calibration_api.c +romstage-y += dramc_pi_main.c +romstage-y += DRAMC_SUBSYS_config.c +romstage-y += dramc_top.c +romstage-y += dramc_tracking.c +romstage-y += dramc_utility.c +romstage-y += Hal_io.c +romstage-y += LP4_dram_init.c + +ramstage-y += emi.c diff --git a/src/vendorcode/mediatek/mt8195/Makefile.inc b/src/vendorcode/mediatek/mt8195/Makefile.inc deleted file mode 100644 index f5ce6ee3b6..0000000000 --- a/src/vendorcode/mediatek/mt8195/Makefile.inc +++ /dev/null @@ -1,6 +0,0 @@ -subdirs-y += dramc - -CPPFLAGS_common += -Isrc/soc/mediatek/mt8195/include -CPPFLAGS_common += -Isrc/soc/mediatek/common/include -CPPFLAGS_common += -Isrc/vendorcode/mediatek/mt8195/include -CPPFLAGS_common += -DFOR_COREBOOT diff --git a/src/vendorcode/mediatek/mt8195/Makefile.mk b/src/vendorcode/mediatek/mt8195/Makefile.mk new file mode 100644 index 0000000000..f5ce6ee3b6 --- /dev/null +++ b/src/vendorcode/mediatek/mt8195/Makefile.mk @@ -0,0 +1,6 @@ +subdirs-y += dramc + +CPPFLAGS_common += -Isrc/soc/mediatek/mt8195/include +CPPFLAGS_common += -Isrc/soc/mediatek/common/include +CPPFLAGS_common += -Isrc/vendorcode/mediatek/mt8195/include +CPPFLAGS_common += -DFOR_COREBOOT diff --git a/src/vendorcode/mediatek/mt8195/dramc/Makefile.inc b/src/vendorcode/mediatek/mt8195/dramc/Makefile.inc deleted file mode 100644 index 8d03618531..0000000000 --- a/src/vendorcode/mediatek/mt8195/dramc/Makefile.inc +++ /dev/null @@ -1,22 +0,0 @@ -romstage-y += emi.c - -romstage-y += ANA_init_config.c -romstage-y += DIG_NONSHUF_config.c -romstage-y += DIG_SHUF_config.c -romstage-y += dramc_actiming.c -romstage-y += dramc_dv_freq_related.c -romstage-y += dramc_dvfs.c -romstage-y += dramc_lowpower.c -romstage-y += DRAM_config_collctioin.c -romstage-y += dramc_pi_basic_api.c -romstage-y += dramc_pi_calibration_api.c -romstage-y += dramc_pi_main.c -romstage-y += DRAMC_SUBSYS_config.c -romstage-y += dramc_top.c -romstage-y += dramc_tracking.c -romstage-y += dramc_utility.c -romstage-y += Hal_io.c -romstage-y += LP4_dram_init.c -romstage-y += dramc_debug.c - -ramstage-y += emi.c diff --git a/src/vendorcode/mediatek/mt8195/dramc/Makefile.mk b/src/vendorcode/mediatek/mt8195/dramc/Makefile.mk new file mode 100644 index 0000000000..8d03618531 --- /dev/null +++ b/src/vendorcode/mediatek/mt8195/dramc/Makefile.mk @@ -0,0 +1,22 @@ +romstage-y += emi.c + +romstage-y += ANA_init_config.c +romstage-y += DIG_NONSHUF_config.c +romstage-y += DIG_SHUF_config.c +romstage-y += dramc_actiming.c +romstage-y += dramc_dv_freq_related.c +romstage-y += dramc_dvfs.c +romstage-y += dramc_lowpower.c +romstage-y += DRAM_config_collctioin.c +romstage-y += dramc_pi_basic_api.c +romstage-y += dramc_pi_calibration_api.c +romstage-y += dramc_pi_main.c +romstage-y += DRAMC_SUBSYS_config.c +romstage-y += dramc_top.c +romstage-y += dramc_tracking.c +romstage-y += dramc_utility.c +romstage-y += Hal_io.c +romstage-y += LP4_dram_init.c +romstage-y += dramc_debug.c + +ramstage-y += emi.c -- cgit v1.2.3