forked from OERV-BSP/u-boot
It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our Makefiles as part of the macros to determine when to do something in our Makefiles based on what phase of the build we are in. For consistency, bring this down to a single macro and use "$(PHASE_)" only. Signed-off-by: Tom Rini <trini@konsulko.com>
22 lines
447 B
Makefile
22 lines
447 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2014 Google, Inc
|
|
|
|
ifdef CONFIG_HAVE_FSP
|
|
obj-y += fsp_configs.o ivybridge.o
|
|
else
|
|
obj-$(CONFIG_$(PHASE_)X86_32BIT_INIT) += cpu.o
|
|
obj-y += early_me.o
|
|
obj-y += lpc.o
|
|
obj-y += northbridge.o
|
|
ifndef CONFIG_XPL_BUILD
|
|
obj-y += sata.o
|
|
endif
|
|
obj-$(CONFIG_$(PHASE_)X86_32BIT_INIT) += sdram.o
|
|
ifndef CONFIG_$(PHASE_)X86_32BIT_INIT
|
|
obj-y += sdram_nop.o
|
|
endif
|
|
endif
|
|
obj-y += model_206ax.o
|
|
obj-y += bd82x6x.o
|