mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
18 lines
501 B
Makefile
18 lines
501 B
Makefile
#
|
|
# (C) Copyright 2000-2010
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
PLATFORM_RELFLAGS += -meabi
|
|
PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float
|
|
|
|
cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
|
|
is440:=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
|
|
|
|
ifneq (,$(findstring CONFIG_440,$(is440)))
|
|
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
|
|
else
|
|
PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405
|
|
endif
|