Home | History | Annotate | Line # | Download | only in arm
Makefile.inc revision 1.18.2.1
      1 #	$NetBSD: Makefile.inc,v 1.18.2.1 2013/08/28 23:59:35 rmind Exp $
      2 
      3 SRCS+=	byte_swap_2.S byte_swap_4.S
      4 SRCS+=	ffs.S
      5 SRCS+=	divsi3.S udivsi3.S divide.S clzsi2.S
      6 SRCS+=	memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S
      7 SRCS+=	modsi3.S umodsi3.S
      8 
      9 .if !empty(MACHINE_ARCH:Mearm*)
     10 SRCS+=	__aeabi_ldivmod.S __aeabi_uldivmod.S __aeabi_lcmp.c __aeabi_ulcmp.c
     11 SRCS+=	unwind_stub.c
     12 .endif
     13 .if empty(MACHINE_ARCH:Mearmv7*)
     14 CPUFLAGS.ffs.S+=	-marm
     15 .endif
     16 CPUFLAGS.divide.S+=	-marm
     17 CPUFLAGS.memcmp.S+=	-marm
     18 CPUFLAGS.memcpy.S+=	-marm
     19 CPUFLAGS.memmove.S+=	-marm
     20 CPUFLAGS.memset.S+=	-marm
     21 .if empty(CPPFLAGS:M-D_STANDALONE)
     22 CPUFLAGS.strcpy.S+=	-marm
     23 CPUFLAGS.strlcpy.S+=	-marm
     24 CPUFLAGS.strncpy.S+=	-marm
     25 .endif
     26