Module Name: src
Committed By: matt
Date: Wed Aug 21 05:59:14 UTC 2013
Modified Files:
src/sys/arch/evbarm/stand/boot2440: Makefile
Log Message:
Use <bsd.klinks.mk>
DBG=-Os (instead of blank)
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbarm/stand/boot2440/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/stand/boot2440/Makefile
diff -u src/sys/arch/evbarm/stand/boot2440/Makefile:1.10 src/sys/arch/evbarm/stand/boot2440/Makefile:1.11
--- src/sys/arch/evbarm/stand/boot2440/Makefile:1.10 Thu Aug 15 21:41:08 2013
+++ src/sys/arch/evbarm/stand/boot2440/Makefile Wed Aug 21 05:59:14 2013
@@ -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= entry.S main.c devopen.c netif.c
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+= -nostdinc -I. -I${.OBJDIR} -I
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 @@ BINMODE= 444
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"