summaryrefslogtreecommitdiff
path: root/sys/lib/libkern
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-06-29 16:28:30 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-06-29 16:28:30 +0000
commitaa9d1d9e6344b745f47b6d83a2dee48e2ddf03f7 (patch)
tree6cb891130e9af106d10f0fca87056bd59a1ad7bc /sys/lib/libkern
parented246735993120217331258eabd7025a1bded4bb (diff)
in order to build bzero from memset KERNDIR has to be exported.
i think other archs can adopt this instead of using .s versions. also compress arguments to make in fewer lines, so they do not abuse screen space.
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r--sys/lib/libkern/Makefile.inc12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/lib/libkern/Makefile.inc b/sys/lib/libkern/Makefile.inc
index b9acdf8a1de..06121fc85a4 100644
--- a/sys/lib/libkern/Makefile.inc
+++ b/sys/lib/libkern/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.10 1998/03/18 20:47:07 mickey Exp $
+# $OpenBSD: Makefile.inc,v 1.11 2000/06/29 16:28:29 mickey Exp $
# $NetBSD: Makefile.inc,v 1.22 1996/09/30 15:54:35 ws Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
@@ -18,12 +18,10 @@ KERNLIB_PROF= ${KERNDST}/libkern.po
KERNMAKE= \
cd ${KERNDIR} && MAKEOBJDIR=${KERNDST} ${MAKE} \
- CC='${CC}' CFLAGS='${CFLAGS}' \
- AS='${AS}' AFLAGS='${AFLAGS}' \
- LD='${LD}' STRIP='${STRIP}' \
- CPP='${CPP}' STRIP='${STRIP}' AR='${AR}' \
- NM='${NM}' LORDER='${LORDER}' \
- XMACHINE='${MACHINE}' XMACHINE_ARCH='${MACHINE_ARCH}' \
+ CC='${CC}' CFLAGS='${CFLAGS}' AS='${AS}' AFLAGS='${AFLAGS}' \
+ LD='${LD}' STRIP='${STRIP}' CPP='${CPP}' STRIP='${STRIP}' \
+ AR='${AR}' NM='${NM}' LORDER='${LORDER}' XMACHINE='${MACHINE}' \
+ XMACHINE_ARCH='${MACHINE_ARCH}' KERNDIR=${KERNDIR} \
KERNCPPFLAGS='${CPPFLAGS:S@^-I.@-I../../.@g}'
${KERNLIB}: .NOTMAIN __always_make_kernlib