From d0037efda9e9ce855279d21b891d29edbfb664fb Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 12:38:34 -0700 Subject: soc/*: 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: I6f502b97864fd7782e514ee2daa902d2081633a2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80074 Reviewed-by: Maximilian Brune Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Felix Singer --- src/soc/samsung/exynos5250/Makefile.inc | 53 --------------------------------- src/soc/samsung/exynos5250/Makefile.mk | 53 +++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 src/soc/samsung/exynos5250/Makefile.inc create mode 100644 src/soc/samsung/exynos5250/Makefile.mk (limited to 'src/soc/samsung/exynos5250') diff --git a/src/soc/samsung/exynos5250/Makefile.inc b/src/soc/samsung/exynos5250/Makefile.inc deleted file mode 100644 index 8456a6b35e..0000000000 --- a/src/soc/samsung/exynos5250/Makefile.inc +++ /dev/null @@ -1,53 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only -ifeq ($(CONFIG_CPU_SAMSUNG_EXYNOS5250),y) - -bootblock-y += spi.c alternate_cbfs.c -bootblock-y += bootblock.c -bootblock-y += pinmux.c timer.c power.c -# Clock is required for UART -bootblock-y += clock_init.c -bootblock-y += clock.c -bootblock-y += uart.c -bootblock-y += wakeup.c -bootblock-y += gpio.c - -romstage-y += spi.c alternate_cbfs.c -romstage-y += clock.c -romstage-y += clock_init.c -romstage-y += pinmux.c # required by s3c24x0_i2c and uart. -romstage-y += dmc_common.c -romstage-y += dmc_init_ddr3.c -romstage-y += power.c -romstage-y += timer.c -romstage-y += uart.c -romstage-y += wakeup.c -romstage-y += gpio.c -romstage-y += trustzone.c -romstage-y += i2c.c -#romstage-y += wdt.c -romstage-y += cbmem.c - -ramstage-y += spi.c alternate_cbfs.c -ramstage-y += clock.c -ramstage-y += clock_init.c -ramstage-y += pinmux.c -ramstage-y += power.c -ramstage-y += uart.c -ramstage-y += cpu.c -ramstage-y += tmu.c -ramstage-y += timer.c -ramstage-y += gpio.c -ramstage-y += i2c.c -ramstage-y += dp-reg.c -ramstage-y += fb.c -ramstage-y += usb.c - -CPPFLAGS_common += -Isrc/soc/samsung/common/include/ -CPPFLAGS_common += -Isrc/soc/samsung/exynos5250/include/ - -$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin - @printf " BL1, CKSUM $(subst $(obj)/,,$(@))\n" - util/exynos/fixed_cksum.py $< $<.cksum 32768 - cat 3rdparty/blobs/cpu/samsung/exynos5250/bl1.bin $<.cksum > $@ - -endif diff --git a/src/soc/samsung/exynos5250/Makefile.mk b/src/soc/samsung/exynos5250/Makefile.mk new file mode 100644 index 0000000000..8456a6b35e --- /dev/null +++ b/src/soc/samsung/exynos5250/Makefile.mk @@ -0,0 +1,53 @@ +## SPDX-License-Identifier: GPL-2.0-only +ifeq ($(CONFIG_CPU_SAMSUNG_EXYNOS5250),y) + +bootblock-y += spi.c alternate_cbfs.c +bootblock-y += bootblock.c +bootblock-y += pinmux.c timer.c power.c +# Clock is required for UART +bootblock-y += clock_init.c +bootblock-y += clock.c +bootblock-y += uart.c +bootblock-y += wakeup.c +bootblock-y += gpio.c + +romstage-y += spi.c alternate_cbfs.c +romstage-y += clock.c +romstage-y += clock_init.c +romstage-y += pinmux.c # required by s3c24x0_i2c and uart. +romstage-y += dmc_common.c +romstage-y += dmc_init_ddr3.c +romstage-y += power.c +romstage-y += timer.c +romstage-y += uart.c +romstage-y += wakeup.c +romstage-y += gpio.c +romstage-y += trustzone.c +romstage-y += i2c.c +#romstage-y += wdt.c +romstage-y += cbmem.c + +ramstage-y += spi.c alternate_cbfs.c +ramstage-y += clock.c +ramstage-y += clock_init.c +ramstage-y += pinmux.c +ramstage-y += power.c +ramstage-y += uart.c +ramstage-y += cpu.c +ramstage-y += tmu.c +ramstage-y += timer.c +ramstage-y += gpio.c +ramstage-y += i2c.c +ramstage-y += dp-reg.c +ramstage-y += fb.c +ramstage-y += usb.c + +CPPFLAGS_common += -Isrc/soc/samsung/common/include/ +CPPFLAGS_common += -Isrc/soc/samsung/exynos5250/include/ + +$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin + @printf " BL1, CKSUM $(subst $(obj)/,,$(@))\n" + util/exynos/fixed_cksum.py $< $<.cksum 32768 + cat 3rdparty/blobs/cpu/samsung/exynos5250/bl1.bin $<.cksum > $@ + +endif -- cgit v1.2.3