mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-04 20:03:20 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
This commit intends to stop grepping CPU type in arch/m68k/cpu/mcf52x2/config.mk. Move the CPU type config options from include/configs/*.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf52x2/config.mk. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Alison Wang <alison.wang@freescale.com> Cc: Angelo Dureghello <angelo@sysam.it>
19 lines
504 B
Makefile
19 lines
504 B
Makefile
#
|
|
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
|
|
#
|
|
# (C) Copyright 2000-2004
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
cpuflags-$(CONFIG_M5208) := -mcpu=5208
|
|
cpuflags-$(CONFIG_M5249) := -mcpu=5249
|
|
cpuflags-$(CONFIG_M5253) := -mcpu=5253
|
|
cpuflags-$(CONFIG_M5271) := -mcpu=5271
|
|
cpuflags-$(CONFIG_M5272) := -mcpu=5272
|
|
cpuflags-$(CONFIG_M5275) := -mcpu=5275
|
|
cpuflags-$(CONFIG_M5282) := -mcpu=5282
|
|
|
|
PLATFORM_CPPFLAGS += $(cpuflags-y)
|