Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern/arch/m68k use .INVISIBLE to hide random.S, i...



details:   https://anonhg.NetBSD.org/src/rev/fd9ee9637be2
branches:  trunk
changeset: 802000:fd9ee9637be2
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 27 08:51:37 2014 +0000

description:
use .INVISIBLE to hide random.S, instead of extra rules.

diffstat:

 sys/lib/libkern/arch/m68k/Makefile.inc |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (20 lines):

diff -r fc957170a965 -r fd9ee9637be2 sys/lib/libkern/arch/m68k/Makefile.inc
--- a/sys/lib/libkern/arch/m68k/Makefile.inc    Wed Aug 27 08:50:38 2014 +0000
+++ b/sys/lib/libkern/arch/m68k/Makefile.inc    Wed Aug 27 08:51:37 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.32 2014/03/18 18:20:43 riastradh Exp $
+#      $NetBSD: Makefile.inc,v 1.33 2014/08/27 08:51:37 christos Exp $
 
 SRCS+= bswap16.S bswap32.S bswap64.S
 SRCS+= memcmp.S memcpy.S memmove.S memset.S
@@ -10,9 +10,5 @@
 
 .if defined(MACHINE_ARCH) && (${MACHINE_ARCH} == "m68000")
 SRCS+= mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S
+random.S: .INVISIBLE
 .endif
-.if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "m68k"
-SRCS+= random.S
-.else
-random.o random.po random.pico random.d: random.c
-.endif



Home | Main Index | Thread Index | Old Index