diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-12 15:11:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-12 15:11:13 +0000 |
commit | 8e72fdb297b2f7d1b6d5ce5c5c8bee34121af3dc (patch) | |
tree | b2c4ebe608082dbb4ee553af8d523451cee48fad /sys/arch/sparc | |
parent | 587a36bf2d3d84b1040918aa7cc22647afa8583a (diff) |
A horrific gruesome hack to remove a splat during obj@ builds
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/stand/Makefile | 1 | ||||
-rw-r--r-- | sys/arch/sparc/stand/Makefile.inc | 4 |
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 |