u-boot-brain/arch/arm/cpu/arm720t
Masahiro Yamada cd2e46cb38 kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC
Before this commit, USE_PRIVATE_LIBGCC was defined in
arch-specific config.mk and referenced in
arch/$(ARCH)/lib/Makefile.

We are not happy about parsing config.mk again and again.
We have to keep the same behavior with a different way.

By adding "CONFIG_" prefix, this macro appears
in include/autoconf.mk, include/spl-autoconf.mk.
(And treating USE_PRIVATE_LIBGCC as CONFIG macro
is reasonable enough.)

Tegra SoC family defined USE_PRIVATE_LIBGCC as "yes"
in arch/arm/cpu/arm720t/tegra*/config.mk,
whereas did not define it in arch/arm/cpu/armv7/tegra*/config.mk.

It means Tegra enables PRIVATE_LIBGCC only for SPL.
We can describe the same behavior by adding

  #ifdef CONFIG_SPL_BUILD
  # define CONFIG_USE_PRIVATE_LIBGCC
  #endif

to include/configs/tegra-common.h.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
2014-03-07 10:59:06 -05:00
..
tegra20 kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC 2014-03-07 10:59:06 -05:00
tegra30 kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC 2014-03-07 10:59:06 -05:00
tegra114 kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC 2014-03-07 10:59:06 -05:00
tegra124 kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC 2014-03-07 10:59:06 -05:00
tegra-common ARM: tegra: add SPL/AVP (arm720t) CPU files for Tegra124 2014-02-03 09:46:46 -07:00
config.mk ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
cpu.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
interrupts.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
Makefile ARM: tegra: move Tegra specific code under arch/arm/ 2013-10-31 13:26:44 -04:00
start.S arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00