summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2022-08-08 07:04:25 +0300
committerAnup Patel <anup@brainfault.org>2022-08-08 07:04:25 +0300
commiteccb9df5cf402dd910efc5f3b926db5161a318bf (patch)
treeaaa90464b905266316c857530d9ad1a49c964307 /Makefile
parentbc317a378f17ad462fdc2ee672e9bb05098506b4 (diff)
downloadopensbi-eccb9df5cf402dd910efc5f3b926db5161a318bf.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 011c7a4..e716e8c 100644
--- a/Makefile
+++ b/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