mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
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:
parent
f5d0153981
commit
7621bfff0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52651
@ -23,11 +23,13 @@
|
||||
KERNEL?= kernel
|
||||
STD8X16FONT?= iso
|
||||
|
||||
.if !defined(S)
|
||||
.if exists(./@/.)
|
||||
S= ./@
|
||||
.else
|
||||
S= ../..
|
||||
.endif
|
||||
.endif
|
||||
ALPHA= ${S}/alpha
|
||||
|
||||
HCC?=${CC}
|
||||
|
@ -23,11 +23,13 @@
|
||||
KERNEL?= kernel
|
||||
STD8X16FONT?= iso
|
||||
|
||||
.if !defined(S)
|
||||
.if exists(./@/.)
|
||||
S= ./@
|
||||
.else
|
||||
S= ../..
|
||||
.endif
|
||||
.endif
|
||||
ALPHA= ${S}/alpha
|
||||
|
||||
HCC?=${CC}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user