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>
17 lines
425 B
Makefile
17 lines
425 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
## Build a couple of necessary functions into a private libgcc
|
|
## if the user asked for it
|
|
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += lshrdi3.o muldi3.o ashldi3.o ashrdi3.o
|
|
|
|
obj-y += bdinfo.o
|
|
obj-$(CONFIG_BOOT) += bootm.o
|
|
obj-y += cache.o
|
|
obj-y += interrupts.o
|
|
obj-y += time.o
|
|
obj-y += traps.o
|
|
obj-y += fec.o
|