summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-05-30 18:28:59 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-06-02 04:11:29 +0000
commit2761847f904ce695fc8e47929f65bf6da64bcb6d (patch)
treef5b7fd396be3361dbdcdb63f1759e82bf172f72e /src/lib
parentf3510cbe36717f217a7ccde2b1f5994694ddce99 (diff)
downloadcoreboot-2761847f904ce695fc8e47929f65bf6da64bcb6d.tar.xz
Makefile.inc: Remove unnecessary CONFIG dependency
This patch removes unnecessary kconfig depencies as below 1. CONFIG_ARCH_RAMSTAGE_X86_32 2. CONFIG_RELOCATABLE_RAMSTAGE Include required files as is without specify kconfig option. Change-Id: Ic9d1a95e80178775dd78e756f97f6da13a24dc95 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33113 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 913675bac8..1b8ad19b67 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -104,7 +104,7 @@ bootblock-$(CONFIG_ARCH_BOOTBLOCK_X86_32) += gcc.c
verstage-$(CONFIG_ARCH_VERSTAGE_X86_32) += gcc.c
romstage-$(CONFIG_ARCH_ROMSTAGE_X86_32) += gcc.c
ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += gcc.c
-smm-$(CONFIG_ARCH_RAMSTAGE_X86_32) += gcc.c
+smm-y += gcc.c
endif
romstage-$(CONFIG_GENERIC_UDELAY) += timer.c
@@ -279,7 +279,7 @@ verstage-y += program.ld
ifeq ($(CONFIG_RELOCATABLE_MODULES),y)
ramstage-y += rmodule.c
-romstage-$(CONFIG_RELOCATABLE_RAMSTAGE) += rmodule.c
+romstage-y += rmodule.c
RMODULE_LDFLAGS := -z defs -Bsymbolic