X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=config.mk;h=78748cc04a9eb63f0ebed8b00ea458047b52a17c;hb=3804f5bb4acfa7e58d0a0890225d8584422f3629;hp=64c2951ac1eb1e6942d5bb5b3100cb871d4ef34a;hpb=2db8c2d61a05bb4a94bb341329c6de811757c111;p=u-boot diff --git a/config.mk b/config.mk index 64c2951ac1..78748cc04a 100644 --- a/config.mk +++ b/config.mk @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2000-2013 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# ######################################################################### # This file is included from ./Makefile and spl/Makefile. @@ -24,6 +22,11 @@ VENDOR := ARCH := $(CONFIG_SYS_ARCH:"%"=%) CPU := $(CONFIG_SYS_CPU:"%"=%) +ifdef CONFIG_SPL_BUILD +ifdef CONFIG_TEGRA +CPU := arm720t +endif +endif BOARD := $(CONFIG_SYS_BOARD:"%"=%) ifneq ($(CONFIG_SYS_VENDOR),) VENDOR := $(CONFIG_SYS_VENDOR:"%"=%) @@ -68,8 +71,6 @@ endif RELFLAGS := $(PLATFORM_RELFLAGS) -OBJCOPYFLAGS += --gap-fill=0xff - PLATFORM_CPPFLAGS += $(RELFLAGS) PLATFORM_CPPFLAGS += -pipe