]> Git Repo - u-boot.git/blame - arch/m68k/cpu/mcf5445x/config.mk
kconfig: switch to Kconfig
[u-boot.git] / arch / m68k / cpu / mcf5445x / config.mk
CommitLineData
8ae158cd
TL
1#
2# (C) Copyright 2003 Josef Baumgartner <[email protected]>
3#
4# (C) Copyright 2000-2004
5# Wolfgang Denk, DENX Software Engineering, [email protected].
6#
45370e18
AW
7# Copyright 2011-2012 Freescale Semiconductor, Inc.
8#
1a459660 9# SPDX-License-Identifier: GPL-2.0+
8ae158cd
TL
10#
11
51148790
MY
12cfg=$(srctree)/include/configs/$(CONFIG_SYS_CONFIG_NAME:"%"=%).h
13is5441x:=$(shell grep CONFIG_MCF5441x $(cfg))
45370e18
AW
14
15ifneq (,$(findstring CONFIG_MCF5441x,$(is5441x)))
16PLATFORM_CPPFLAGS += -mcpu=54418 -fPIC
17else
d9240a5f 18PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC
45370e18 19endif
8371dc20
TL
20
21ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
22ifneq (,$(findstring GOT,$(shell $(LD) --help)))
23PLATFORM_LDFLAGS += --got=single
24endif
25endif
This page took 0.175481 seconds and 4 git commands to generate.