183d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+ 2a47a12beSStefan Roese# 3a47a12beSStefan Roese# (C) Copyright 2000-2006 4a47a12beSStefan Roese# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5a47a12beSStefan Roese 601baa056SKyle Moffett## Build a couple of necessary functions into a private libgcc 706c14117SMasahiro Yamada## if the user asked for it 8cd2e46cbSMasahiro Yamadalib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o 901baa056SKyle Moffett 104b919725SScott WoodMINIMAL= 114b919725SScott Wood 124b919725SScott Woodifdef CONFIG_SPL_BUILD 134b919725SScott Woodifdef CONFIG_SPL_INIT_MINIMAL 144b919725SScott WoodMINIMAL=y 154b919725SScott Woodendif 164b919725SScott Woodendif 174b919725SScott Wood 184b919725SScott Woodifdef MINIMAL 1906c14117SMasahiro Yamadaobj-y += cache.o time.o 20*2c21749dSMario Sixifndef CONFIG_TIMER 2106c14117SMasahiro Yamadaobj-y += ticks.o 22*2c21749dSMario Sixendif 234b919725SScott Woodelse 244b919725SScott Wood 2506c14117SMasahiro Yamadaobj-y += ppcstring.o 264b919725SScott Wood 2706c14117SMasahiro Yamadaobj-y += ppccache.o 28*2c21749dSMario Sixifndef CONFIG_TIMER 2906c14117SMasahiro Yamadaobj-y += ticks.o 30*2c21749dSMario Sixendif 3106c14117SMasahiro Yamadaobj-y += reloc.o 32a47a12beSStefan Roese 3306c14117SMasahiro Yamadaobj-$(CONFIG_BAT_RW) += bat_rw.o 3406c14117SMasahiro Yamadaobj-$(CONFIG_CMD_BOOTM) += bootm.o 3506c14117SMasahiro Yamadaobj-y += cache.o 3606c14117SMasahiro Yamadaobj-y += extable.o 3706c14117SMasahiro Yamadaobj-y += interrupts.o 3806c14117SMasahiro Yamadaobj-$(CONFIG_CMD_KGDB) += kgdb.o 3968145d4cSAndreas Bießmannobj-y += stack.o 4006c14117SMasahiro Yamadaobj-y += time.o 414b919725SScott Woodendif # not minimal 424b919725SScott Wood 43ea8256f0SStefan Roeseifdef CONFIG_SPL_BUILD 4406c14117SMasahiro Yamadaobj-$(CONFIG_SPL_FRAMEWORK) += spl.o 45ea8256f0SStefan Roeseendif 46