Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for SuperH-specific library files.. |
| 3 | # |
| 4 | |
Paul Mundt | 62d6b66 | 2007-11-09 14:06:24 +0900 | [diff] [blame] | 5 | lib-y = delay.o io.o memset.o memmove.o memchr.o \ |
Paul Mundt | cdf50b2 | 2007-03-28 17:14:45 +0900 | [diff] [blame] | 6 | checksum.o strlen.o div64.o div64-generic.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | memcpy-y := memcpy.o |
| 9 | memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o |
| 10 | |
Paul Mundt | 9895f94 | 2007-11-21 22:46:14 +0900 | [diff] [blame] | 11 | lib-$(CONFIG_MMU) += copy_page.o clear_page.o |
| 12 | lib-y += $(memcpy-y) |
Paul Mundt | 98366c2 | 2007-11-06 17:35:12 +0900 | [diff] [blame] | 13 | |
| 14 | EXTRA_CFLAGS += -Werror |