]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/cpu/mcf5445x/config.mk
kconfig: switch to Kconfig
[karo-tx-uboot.git] / arch / m68k / cpu / mcf5445x / config.mk
index d546b220586b7419d1133d17e344f06bcf518d0a..13f8a9f57b600f312d9eceffdc91dc6e693da109 100644 (file)
@@ -9,10 +9,8 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
-
-cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
-is5441x:=$(shell grep CONFIG_MCF5441x $(TOPDIR)/include/$(cfg))
+cfg=$(srctree)/include/configs/$(CONFIG_SYS_CONFIG_NAME:"%"=%).h
+is5441x:=$(shell grep CONFIG_MCF5441x $(cfg))
 
 ifneq (,$(findstring CONFIG_MCF5441x,$(is5441x)))
 PLATFORM_CPPFLAGS += -mcpu=54418 -fPIC