summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-04-12 15:11:11 +0000
committerderaadt <deraadt@openbsd.org>1997-04-12 15:11:11 +0000
commit9389ded59b08ee9f3de3b35dcf0985ea33f41745 (patch)
treeb53050bd03c42b43e7c311a322c78adad8049740
parentign some signals for editor (diff)
downloadwireguard-openbsd-9389ded59b08ee9f3de3b35dcf0985ea33f41745.tar.xz
wireguard-openbsd-9389ded59b08ee9f3de3b35dcf0985ea33f41745.zip
A horrific gruesome hack to remove a splat during obj@ builds
-rw-r--r--sys/arch/sparc/stand/Makefile1
-rw-r--r--sys/arch/sparc/stand/Makefile.inc4
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/stand/Makefile b/sys/arch/sparc/stand/Makefile
index 52bc933cea4..f0507728cea 100644
--- a/sys/arch/sparc/stand/Makefile
+++ b/sys/arch/sparc/stand/Makefile
@@ -5,6 +5,7 @@ SUBDIR= boot bootxx installboot
### find out what to use for libkern and libsa
SAREL=
KERNREL=
+TOPLEVEL=1
.include "Makefile.inc"
.include "$S/lib/libkern/Makefile.inc"
.include "$S/lib/libsa/Makefile.inc"
diff --git a/sys/arch/sparc/stand/Makefile.inc b/sys/arch/sparc/stand/Makefile.inc
index 4f2600de41b..fee77b15daa 100644
--- a/sys/arch/sparc/stand/Makefile.inc
+++ b/sys/arch/sparc/stand/Makefile.inc
@@ -5,10 +5,12 @@ __stand_makefile_inc=1
S= ${.CURDIR}/../../../${R}
+.ifndef TOPLEVEL
.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir)
.BEGIN:
-@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
.endif
+.endif
RELOC_SUN4= 0x240000
RELOC_SUN4C= 0x340000
@@ -25,6 +27,6 @@ srt0.o: srt0.S
${CC} ${CFLAGS} -D_LOCORE -c ${.IMPSRC}
cleandir:
- rm -rf lib machine
+ -@rm -rf lib machine
.endif