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