Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/stand/boot2440 Use <bsd.klinks.mk>



details:   https://anonhg.NetBSD.org/src/rev/82fc53ff7e5e
branches:  trunk
changeset: 789516:82fc53ff7e5e
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 21 05:59:14 2013 +0000

description:
Use <bsd.klinks.mk>
DBG=-Os (instead of blank)

diffstat:

 sys/arch/evbarm/stand/boot2440/Makefile |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (41 lines):

diff -r 0a86d69a4321 -r 82fc53ff7e5e sys/arch/evbarm/stand/boot2440/Makefile
--- a/sys/arch/evbarm/stand/boot2440/Makefile   Wed Aug 21 05:55:26 2013 +0000
+++ b/sys/arch/evbarm/stand/boot2440/Makefile   Wed Aug 21 05:59:14 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2013/08/15 21:41:08 matt Exp $
+#      $NetBSD: Makefile,v 1.11 2013/08/21 05:59:14 matt Exp $
 
 S=             ${.CURDIR}/../../../..
 
@@ -7,6 +7,7 @@
 SRCS+=         s3csdi.c vers.c
 
 .include <bsd.own.mk>
+.include <bsd.klinks.mk>
 
 CLEANFILES+=   vers.c ${PROG}.elf
 CFLAGS+=       -Wall -Wno-main -ffreestanding -fno-unwind-tables
@@ -17,7 +18,7 @@
 CPPFLAGS+=     -march=armv4 -mabi=apcs-gnu -mfloat-abi=soft
 CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
 CPUFLAGS=
-DBG=           
+DBG=           -Os
 
 LIBCRT0=       # nothing
 LIBCRTBEGIN=   # nothing
@@ -32,14 +33,6 @@
 RELOC=         0x30A00000
 ENTRY=         _start
 
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN:
-       @[ -h machine ] || ln -s ${S}/arch/evbarm/include machine
-       @[ -h arm ] || ln -s ${S}/arch/arm/include arm
-.NOPATH: machine arm
-.endif
-CLEANFILES+= machine arm
-
 ### find out what to use for libkern
 KERN_AS=       library
 .include "${S}/lib/libkern/Makefile.inc"



Home | Main Index | Thread Index | Old Index