]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/m68k/cpu/mcf5445x/config.mk
2 # (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
4 # (C) Copyright 2000-2004
5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # Copyright 2011-2012 Freescale Semiconductor, Inc.
9 # SPDX-License-Identifier: GPL-2.0+
12 cfg
=$(shell grep configs
$(OBJTREE
)/include/config.h | sed
's/.*<\(configs.*\)>/\1/')
13 is5441x
:=$(shell grep CONFIG_MCF5441x
$(TOPDIR
)/include/$(cfg
))
15 ifneq (,$(findstring CONFIG_MCF5441x
,$(is5441x
)))
16 PLATFORM_CPPFLAGS
+= -mcpu
=54418 -fPIC
18 PLATFORM_CPPFLAGS
+= -mcpu
=54455 -fPIC
21 ifneq (,$(findstring -linux-
,$(shell $(CC
) --version
)))
22 ifneq (,$(findstring GOT
,$(shell $(LD
) --help
)))
23 PLATFORM_LDFLAGS
+= --got
=single