From 127392599975c1aa5cdf3d18e5bd3e4de9a7db6b Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 11 Apr 2024 20:52:11 -0600 Subject: src/mb: Rename new Makefile.inc files to Makefile.mk These files were added after the switch. Change-Id: I1986e4f921e0e56fe5255433d4b9216dc7c4dc59 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/coreboot/+/81856 Reviewed-by: Varshit Pandya Tested-by: build bot (Jenkins) --- src/soc/sifive/fu740/Makefile.inc | 32 -------------------------------- src/soc/sifive/fu740/Makefile.mk | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 src/soc/sifive/fu740/Makefile.inc create mode 100644 src/soc/sifive/fu740/Makefile.mk (limited to 'src/soc/sifive') diff --git a/src/soc/sifive/fu740/Makefile.inc b/src/soc/sifive/fu740/Makefile.inc deleted file mode 100644 index 86c90dfb77..0000000000 --- a/src/soc/sifive/fu740/Makefile.inc +++ /dev/null @@ -1,32 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_SOC_SIFIVE_FU740),y) - -CPPFLAGS_common += -Isrc/soc/sifive/fu740/include - -bootblock-y += uart.c -bootblock-y += clint.c -bootblock-y += spi.c -bootblock-y += sdram.c -bootblock-y += cbmem.c -bootblock-y += otp.c -bootblock-y += clock.c -bootblock-y += ddrregs.c -bootblock-y += chip.c -bootblock-y += gpio.c - - -ramstage-y += uart.c -ramstage-y += clint.c -ramstage-y += spi.c -ramstage-y += sdram.c -ramstage-y += cbmem.c -ramstage-y += otp.c -ramstage-y += clock.c -ramstage-y += chip.c - -$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin - @printf " GPT $(notdir $(@))\n" - @util/riscv/sifive-gpt.py $< $@ - -endif diff --git a/src/soc/sifive/fu740/Makefile.mk b/src/soc/sifive/fu740/Makefile.mk new file mode 100644 index 0000000000..86c90dfb77 --- /dev/null +++ b/src/soc/sifive/fu740/Makefile.mk @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_SOC_SIFIVE_FU740),y) + +CPPFLAGS_common += -Isrc/soc/sifive/fu740/include + +bootblock-y += uart.c +bootblock-y += clint.c +bootblock-y += spi.c +bootblock-y += sdram.c +bootblock-y += cbmem.c +bootblock-y += otp.c +bootblock-y += clock.c +bootblock-y += ddrregs.c +bootblock-y += chip.c +bootblock-y += gpio.c + + +ramstage-y += uart.c +ramstage-y += clint.c +ramstage-y += spi.c +ramstage-y += sdram.c +ramstage-y += cbmem.c +ramstage-y += otp.c +ramstage-y += clock.c +ramstage-y += chip.c + +$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin + @printf " GPT $(notdir $(@))\n" + @util/riscv/sifive-gpt.py $< $@ + +endif -- cgit v1.2.3