mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
platform: Remove redundant config.mk from all platforms
The options defined in config.mk can be specified in objects.mk of each platform so let us remove config.mk from all platforms. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Tested-by: Andrew Jones <ajones@ventanamicro.com> Acked-by: Atish Patra <atishp@rivosinc.com> Tested-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -204,7 +204,7 @@ firmware-object-mks=$(shell if [ -d $(firmware_dir) ]; then find $(firmware_dir)
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
# Include platform specific .config and config.mk
|
||||
# Include platform specific .config
|
||||
ifdef PLATFORM
|
||||
.PHONY: menuconfig
|
||||
menuconfig: $(platform_src_dir)/Kconfig $(src_dir)/Kconfig
|
||||
@@ -229,8 +229,6 @@ $(KCONFIG_AUTOCMD): $(KCONFIG_CONFIG)
|
||||
|
||||
include $(KCONFIG_CONFIG)
|
||||
include $(KCONFIG_AUTOCMD)
|
||||
|
||||
include $(platform_src_dir)/config.mk
|
||||
endif
|
||||
|
||||
# Include all object.mk files
|
||||
|
Reference in New Issue
Block a user