]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/cpu/mcf5227x/config.mk
m68k: mcf5227x: move CPU type to Kconfig and refactor config.mk
[karo-tx-uboot.git] / arch / m68k / cpu / mcf5227x / config.mk
index b5c26e4e5b4753502e5787f0e15226a14382a65c..a6814d8895b1c82a43533185693315daaf320528 100644 (file)
@@ -7,4 +7,6 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-PLATFORM_CPPFLAGS += -mcpu=52277 -fPIC
+cpuflags-$(CONFIG_M52277) := -mcpu=52277 -fPIC
+
+PLATFORM_CPPFLAGS += $(cpuflags-y)