Commit 37c9940a09d582bb90eed4e59110c388c90f2bf8
Committed by
Tom Rini
1 parent
165ecd26f0
Exists in
v2017.01-smarct4x
and in
37 other branches
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 Inline Diff
arch/x86/cpu/Makefile
1 | # | 1 | # |
2 | # (C) Copyright 2006 | 2 | # (C) Copyright 2006 |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | # | 4 | # |
5 | # (C) Copyright 2002 | 5 | # (C) Copyright 2002 |
6 | # Daniel Engström, Omicron Ceti AB, daniel@omicron.se. | 6 | # Daniel Engström, Omicron Ceti AB, daniel@omicron.se. |
7 | # | 7 | # |
8 | # SPDX-License-Identifier: GPL-2.0+ | 8 | # SPDX-License-Identifier: GPL-2.0+ |
9 | # | 9 | # |
10 | 10 | ||
11 | extra-y = start.o | 11 | extra-y = start.o |
12 | obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o | 12 | obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o |
13 | obj-y += interrupts.o cpu.o call64.o | 13 | obj-y += interrupts.o cpu.o call64.o |
14 | 14 | ||
15 | obj-y += $(if $(SOC),$(SOC)/) | 15 | obj-$(CONFIG_SYS_COREBOOT) += coreboot/ |
16 | 16 |
arch/x86/cpu/coreboot/Makefile
1 | # | 1 | # |
2 | # Copyright (c) 2011 The Chromium OS Authors. | 2 | # Copyright (c) 2011 The Chromium OS Authors. |
3 | # | 3 | # |
4 | # (C) Copyright 2008 | 4 | # (C) Copyright 2008 |
5 | # Graeme Russ, graeme.russ@gmail.com. | 5 | # Graeme Russ, graeme.russ@gmail.com. |
6 | # | 6 | # |
7 | # (C) Copyright 2006 | 7 | # (C) Copyright 2006 |
8 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | 8 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
9 | # | 9 | # |
10 | # (C) Copyright 2002 | 10 | # (C) Copyright 2002 |
11 | # Daniel Engström, Omicron Ceti AB, daniel@omicron.se. | 11 | # Daniel Engström, Omicron Ceti AB, daniel@omicron.se. |
12 | # | 12 | # |
13 | # SPDX-License-Identifier: GPL-2.0+ | 13 | # SPDX-License-Identifier: GPL-2.0+ |
14 | # | 14 | # |
15 | 15 | ||
16 | obj-$(CONFIG_SYS_COREBOOT) += car.o | 16 | obj-y += car.o |
17 | obj-$(CONFIG_SYS_COREBOOT) += coreboot.o | 17 | obj-y += coreboot.o |
18 | obj-$(CONFIG_SYS_COREBOOT) += tables.o | 18 | obj-y += tables.o |
19 | obj-$(CONFIG_SYS_COREBOOT) += ipchecksum.o | 19 | obj-y += ipchecksum.o |
20 | obj-$(CONFIG_SYS_COREBOOT) += sdram.o | 20 | obj-y += sdram.o |
21 | obj-$(CONFIG_SYS_COREBOOT) += timestamp.o | 21 | obj-y += timestamp.o |
22 | obj-$(CONFIG_PCI) += pci.o | 22 | obj-$(CONFIG_PCI) += pci.o |
23 | 23 |