Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for SuperH-specific library files.. |
| 3 | # |
| 4 | |
Adrian Bunk | e3b0860 | 2008-06-18 01:30:53 +0300 | [diff] [blame] | 5 | lib-y = delay.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 | |
Adrian Bunk | e3b0860 | 2008-06-18 01:30:53 +0300 | [diff] [blame] | 8 | obj-y += io.o |
| 9 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | memcpy-y := memcpy.o |
| 11 | memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o |
| 12 | |
Paul Mundt | 9895f94 | 2007-11-21 22:46:14 +0900 | [diff] [blame] | 13 | lib-$(CONFIG_MMU) += copy_page.o clear_page.o |
Matt Fleming | fad57fe | 2008-11-12 20:11:47 +0900 | [diff] [blame] | 14 | lib-$(CONFIG_FUNCTION_TRACER) += mcount.o |
Paul Mundt | 9895f94 | 2007-11-21 22:46:14 +0900 | [diff] [blame] | 15 | lib-y += $(memcpy-y) |
Paul Mundt | 98366c2 | 2007-11-06 17:35:12 +0900 | [diff] [blame] | 16 | |
| 17 | EXTRA_CFLAGS += -Werror |