diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-13 12:28:41 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-23 06:49:02 -0500 |
commit | 37c9940a09d582bb90eed4e59110c388c90f2bf8 (patch) | |
tree | 5941fca8cbe795b534e0ac09488dad05b047b7e3 /arch/x86/cpu | |
parent | 165ecd26f036b1952dbf25823fbff7c0a403a29f (diff) | |
download | u-boot-imx-37c9940a09d582bb90eed4e59110c388c90f2bf8.zip u-boot-imx-37c9940a09d582bb90eed4e59110c388c90f2bf8.tar.gz u-boot-imx-37c9940a09d582bb90eed4e59110c388c90f2bf8.tar.bz2 |
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: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu')
-rw-r--r-- | arch/x86/cpu/Makefile | 2 | ||||
-rw-r--r-- | arch/x86/cpu/coreboot/Makefile | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/cpu/Makefile b/arch/x86/cpu/Makefile index b5ad1ba..8dd7b06 100644 --- a/arch/x86/cpu/Makefile +++ b/arch/x86/cpu/Makefile @@ -12,4 +12,4 @@ extra-y = start.o obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o obj-y += interrupts.o cpu.o call64.o -obj-y += $(if $(SOC),$(SOC)/) +obj-$(CONFIG_SYS_COREBOOT) += coreboot/ diff --git a/arch/x86/cpu/coreboot/Makefile b/arch/x86/cpu/coreboot/Makefile index cd0bf4e..35e6cdd 100644 --- a/arch/x86/cpu/coreboot/Makefile +++ b/arch/x86/cpu/coreboot/Makefile @@ -13,10 +13,10 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-$(CONFIG_SYS_COREBOOT) += car.o -obj-$(CONFIG_SYS_COREBOOT) += coreboot.o -obj-$(CONFIG_SYS_COREBOOT) += tables.o -obj-$(CONFIG_SYS_COREBOOT) += ipchecksum.o -obj-$(CONFIG_SYS_COREBOOT) += sdram.o -obj-$(CONFIG_SYS_COREBOOT) += timestamp.o +obj-y += car.o +obj-y += coreboot.o +obj-y += tables.o +obj-y += ipchecksum.o +obj-y += sdram.o +obj-y += timestamp.o obj-$(CONFIG_PCI) += pci.o |