Commit 37c9940a09d582bb90eed4e59110c388c90f2bf8

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 165ecd26f0

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>

Showing 2 changed files with 7 additions and 7 deletions Side-by-side Diff

arch/x86/cpu/Makefile
... ... @@ -12,5 +12,5 @@
12 12 obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
13 13 obj-y += interrupts.o cpu.o call64.o
14 14  
15   -obj-y += $(if $(SOC),$(SOC)/)
  15 +obj-$(CONFIG_SYS_COREBOOT) += coreboot/
arch/x86/cpu/coreboot/Makefile
... ... @@ -13,11 +13,11 @@
13 13 # SPDX-License-Identifier: GPL-2.0+
14 14 #
15 15  
16   -obj-$(CONFIG_SYS_COREBOOT) += car.o
17   -obj-$(CONFIG_SYS_COREBOOT) += coreboot.o
18   -obj-$(CONFIG_SYS_COREBOOT) += tables.o
19   -obj-$(CONFIG_SYS_COREBOOT) += ipchecksum.o
20   -obj-$(CONFIG_SYS_COREBOOT) += sdram.o
21   -obj-$(CONFIG_SYS_COREBOOT) += timestamp.o
  16 +obj-y += car.o
  17 +obj-y += coreboot.o
  18 +obj-y += tables.o
  19 +obj-y += ipchecksum.o
  20 +obj-y += sdram.o
  21 +obj-y += timestamp.o
22 22 obj-$(CONFIG_PCI) += pci.o