aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.powerpc
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-10-30 09:28:27 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-10-30 09:28:27 +0000
commit7621bfff0f0f02228e75d207e602f6cef505ae2f (patch)
treec76ea36ba85323b999bfc9162fcb16e1d0b330d6 /sys/conf/Makefile.powerpc
parentf5d015398118abfe3a5f27fcc3b6c6700ae53c15 (diff)
downloadsrc-7621bfff0f0f02228e75d207e602f6cef505ae2f.tar.gz
src-7621bfff0f0f02228e75d207e602f6cef505ae2f.zip
Allow the source root `S' to be overridden by defining it only when
it isn't already defined. It enables config(8) to create the kernel build directory where it wants.
Notes
Notes: svn path=/head/; revision=52651
Diffstat (limited to 'sys/conf/Makefile.powerpc')
-rw-r--r--sys/conf/Makefile.powerpc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index f6cd81823193..06d6bb8f5b2f 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -24,11 +24,13 @@ KERNEL?= kernel
KERNFORMAT?= elf
STD8X16FONT?= iso
+.if !defined(S)
.if exists(./@/.)
S= ./@
.else
S= ../..
.endif
+.endif
I386= ${S}/i386
COPTFLAGS?=-O