Each arch has its own set of functions related to booting. Rather than including them for each enabled command, have a single rule to include them, using the new CONFIG_BOOT Signed-off-by: Simon Glass <sjg@chromium.org>
18 lines
368 B
Makefile
18 lines
368 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
|
|
|
|
extra-y = start.o
|
|
head-y := start.o
|
|
obj-y += cache.o
|
|
obj-y += cpu.o
|
|
obj-y += interrupts.o
|
|
obj-y += relocate.o
|
|
obj-y += reset.o
|
|
obj-y += ints_low.o
|
|
obj-y += init_helpers.o
|
|
|
|
obj-$(CONFIG_BOOT) += bootm.o
|
|
|
|
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _millicodethunk.o libgcc2.o
|