Module Name: src
Committed By: tsutsui
Date: Sun May 3 17:33:29 UTC 2009
Modified Files:
src/sys/arch/hp700/stand: Makefile.buildboot
src/sys/arch/hp700/stand/xxboot: Makefile
Log Message:
Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/hp700/stand/Makefile.buildboot
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/hp700/stand/xxboot/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/hp700/stand/Makefile.buildboot
diff -u src/sys/arch/hp700/stand/Makefile.buildboot:1.12 src/sys/arch/hp700/stand/Makefile.buildboot:1.13
--- src/sys/arch/hp700/stand/Makefile.buildboot:1.12 Thu Jun 12 14:08:29 2008
+++ src/sys/arch/hp700/stand/Makefile.buildboot Sun May 3 17:33:29 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.buildboot,v 1.12 2008/06/12 14:08:29 skrll Exp $
+# $NetBSD: Makefile.buildboot,v 1.13 2009/05/03 17:33:29 tsutsui Exp $
RELOC= 120000
HEAP_LIMIT=0x1c0000
@@ -70,13 +70,4 @@
@echo ${PROG} total size should not exceed XXXX bytes
.include <bsd.prog.mk>
-
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN:
- @([ -h machine ] || ln -s $S/arch/hp700/include machine)
- @([ -h hppa ] || ln -s $S/arch/hppa/include hppa)
-
-.NOPATH: machine hppa
-.endif
-
-CLEANFILES+=machine hppa
+.include <bsd.klinks.mk>
Index: src/sys/arch/hp700/stand/xxboot/Makefile
diff -u src/sys/arch/hp700/stand/xxboot/Makefile:1.13 src/sys/arch/hp700/stand/xxboot/Makefile:1.14
--- src/sys/arch/hp700/stand/xxboot/Makefile:1.13 Mon Jan 12 07:19:08 2009
+++ src/sys/arch/hp700/stand/xxboot/Makefile Sun May 3 17:33:29 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/01/12 07:19:08 tsutsui Exp $
+# $NetBSD: Makefile,v 1.14 2009/05/03 17:33:29 tsutsui Exp $
PROG= xxboot
NOMAN= # defined
@@ -57,6 +57,7 @@
CLEANFILES+= ${SRCS:M*.c:S/.c$/.o.S/}
.include <bsd.prog.mk>
+.include <bsd.klinks.mk>
# override default rules
@@ -78,13 +79,3 @@
echo 'found non-relocatable code' >&2 && exit 1; \
fi
${TOOL_SED} -e 's/\.text/.data/' [email protected] | ${AS} -o ${.TARGET}
-
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN:
- @([ -h machine ] || ln -s $S/arch/hp700/include machine)
- @([ -h hppa ] || ln -s $S/arch/hppa/include hppa)
-
-.NOPATH: machine hppa
-.endif
-
-CLEANFILES+=machine hppa