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.
This commit is contained in:
Marcel Moolenaar 1999-10-30 09:28:27 +00:00
parent f5d0153981
commit 7621bfff0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52651
7 changed files with 14 additions and 0 deletions

View File

@ -23,11 +23,13 @@
KERNEL?= kernel
STD8X16FONT?= iso
.if !defined(S)
.if exists(./@/.)
S= ./@
.else
S= ../..
.endif
.endif
ALPHA= ${S}/alpha
HCC?=${CC}

View File

@ -23,11 +23,13 @@
KERNEL?= kernel
STD8X16FONT?= iso
.if !defined(S)
.if exists(./@/.)
S= ./@
.else
S= ../..
.endif
.endif
ALPHA= ${S}/alpha
HCC?=${CC}

View File

@ -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

View File

@ -26,11 +26,13 @@ KERNEL?= kernel
KERNFORMAT?= elf
#STD8X16FONT?= iso
.if !defined(S)
.if exists(./@/.)
S= ./@
.else
S= ../..
.endif
.endif
PC98= ${S}/pc98
I386= ${S}/i386

View File

@ -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

View File

@ -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

View File

@ -26,11 +26,13 @@ KERNEL?= kernel
KERNFORMAT?= elf
#STD8X16FONT?= iso
.if !defined(S)
.if exists(./@/.)
S= ./@
.else
S= ../..
.endif
.endif
PC98= ${S}/pc98
I386= ${S}/i386