Skip to content
Snippets Groups Projects
Commit 37c9940a authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

x86: use CONFIG_SYS_COREBOOT to descend into coreboot/ directory


The references of CONFIG_SYS_COREBOOT in arch/x86/cpu/coreboot/Makefile
are redundant because the build system descends into the directory
only when CONFIG_SYS_COREBOOT is defined.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 165ecd26
No related branches found
No related tags found
No related merge requests found
...@@ -12,4 +12,4 @@ extra-y = start.o ...@@ -12,4 +12,4 @@ extra-y = start.o
obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
obj-y += interrupts.o cpu.o call64.o obj-y += interrupts.o cpu.o call64.o
obj-y += $(if $(SOC),$(SOC)/) obj-$(CONFIG_SYS_COREBOOT) += coreboot/
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
# SPDX-License-Identifier: GPL-2.0+ # SPDX-License-Identifier: GPL-2.0+
# #
obj-$(CONFIG_SYS_COREBOOT) += car.o obj-y += car.o
obj-$(CONFIG_SYS_COREBOOT) += coreboot.o obj-y += coreboot.o
obj-$(CONFIG_SYS_COREBOOT) += tables.o obj-y += tables.o
obj-$(CONFIG_SYS_COREBOOT) += ipchecksum.o obj-y += ipchecksum.o
obj-$(CONFIG_SYS_COREBOOT) += sdram.o obj-y += sdram.o
obj-$(CONFIG_SYS_COREBOOT) += timestamp.o obj-y += timestamp.o
obj-$(CONFIG_PCI) += pci.o obj-$(CONFIG_PCI) += pci.o
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment