]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/Makefile
MIPS: clear TagLo select 2 during cache init
[karo-tx-uboot.git] / arch / mips / Makefile
index 1907b57229c1486d95e1b3338fb804df5917f7ca..0a9e7e614b2061ee674a91add20888f4e9ee1e5b 100644 (file)
@@ -2,7 +2,9 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-head-y := arch/mips/cpu/$(CPU)/start.o
+head-$(CONFIG_CPU_MIPS32) := arch/mips/cpu/mips32/start.o
+head-$(CONFIG_CPU_MIPS64) := arch/mips/cpu/mips64/start.o
 
-libs-y += arch/mips/cpu/$(CPU)/
+libs-$(CONFIG_CPU_MIPS32) += arch/mips/cpu/mips32/
+libs-$(CONFIG_CPU_MIPS64) += arch/mips/cpu/mips64/
 libs-y += arch/mips/lib/