4 # (C) Copyright 2000-2004
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 $(srctree)/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