mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 17:23:09 +00:00
130845bac1
In order to remove the arch-specific ifdefs around initr_trap, introduce arch_initr_trap weak initcall. Implementations for ppc/m68k/mips have been moved to arch/<arch>/lib/traps.c Default implementation is a nop stub. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
48 lines
880 B
Makefile
48 lines
880 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) += _ashldi3.o _ashrdi3.o _lshrdi3.o
|
|
|
|
MINIMAL=
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
MINIMAL=y
|
|
endif
|
|
endif
|
|
|
|
obj-y += bdinfo.o
|
|
|
|
ifdef MINIMAL
|
|
obj-y += cache.o time.o
|
|
ifndef CONFIG_TIMER
|
|
obj-y += ticks.o
|
|
endif
|
|
else
|
|
|
|
obj-y += ppcstring.o
|
|
|
|
obj-y += ppccache.o
|
|
ifndef CONFIG_TIMER
|
|
obj-y += ticks.o
|
|
endif
|
|
obj-y += reloc.o
|
|
|
|
obj-$(CONFIG_BAT_RW) += bat_rw.o
|
|
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
|
obj-y += cache.o
|
|
obj-y += extable.o
|
|
obj-y += interrupts.o
|
|
obj-$(CONFIG_CMD_KGDB) += kgdb.o
|
|
obj-y += stack.o
|
|
obj-y += time.o
|
|
obj-y += traps.o
|
|
endif # not minimal
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_$(SPL_TPL)_FRAMEWORK) += spl.o
|
|
endif
|