summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/lib/Makefile')
-rw-r--r--arch/microblaze/lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/lib/Makefile b/arch/microblaze/lib/Makefile
index d27126bf306a..71c8cb6c9e43 100644
--- a/arch/microblaze/lib/Makefile
+++ b/arch/microblaze/lib/Makefile
@@ -10,4 +10,5 @@ else
lib-y += memcpy.o memmove.o
endif
-lib-y += uaccess.o
+lib-$(CONFIG_NO_MMU) += uaccess.o
+lib-$(CONFIG_MMU) += uaccess_old.o