diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-03-31 14:48:17 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-03-31 14:48:17 +0000 |
commit | c473d9aeb77866f326f9893567035bc3d61d8038 (patch) | |
tree | 096ec2ce55d7a4d27f7db7d5935dee122a14bcce /share/mk | |
parent | 452f24dfd716e978c6b4dc1a14424dfcd2c15a1a (diff) | |
download | FreeBSD-src-c473d9aeb77866f326f9893567035bc3d61d8038.zip FreeBSD-src-c473d9aeb77866f326f9893567035bc3d61d8038.tar.gz |
Define OBJTOP earlier if possible for use in targets.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/local.sys.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk index ae022a1..ced441f 100644 --- a/share/mk/local.sys.mk +++ b/share/mk/local.sys.mk @@ -23,6 +23,10 @@ MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH .endif .endif +.if !empty(.OBJDIR) +OBJTOP?= ${.OBJDIR:S,${.CURDIR},,}${SRCTOP} +.endif + .include "src.sys.mk" .if ${.MAKE.MODE:Mmeta*} != "" |