Move these definitions to bsd.own.mk along side the kernel directory /

user defines. Make this work with WITH_INSTALL_AS_USER as well.

Noticed by: ian@
This commit is contained in:
Warner Losh 2015-02-09 16:21:49 +00:00
parent 2cfaebb681
commit 9f78f7b262
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278462
2 changed files with 5 additions and 5 deletions

View File

@ -141,7 +141,7 @@ _uid!= id -u
USER!= id -un
.endif
_gid!= id -gn
.for x in BIN CONF DOC INFO KMOD LIB MAN NLS SHARE
.for x in BIN CONF DOC DTB INFO KMOD LIB MAN NLS SHARE
$xOWN= ${USER}
$xGRP= ${_gid}
.endfor
@ -164,6 +164,10 @@ KMODDIR?= /boot/kernel
KMODOWN?= ${BINOWN}
KMODGRP?= ${BINGRP}
KMODMODE?= ${BINMODE}
DTBDIR?= /boot/dtb
DTBOWN?= root
DTBGRP?= wheel
DTBMODE?= 444
LIBDIR?= /usr/lib
LIBCOMPATDIR?= /usr/lib/compat

View File

@ -45,10 +45,6 @@ SYSDIR= ${_dir}
.PATH: ${SYSDIR}/gnu/dts/${MACHINE} ${SYSDIR}/boot/fdt/dts/${MACHINE}
DTBDIR?=/boot/dtb
DTBOWN?=root
DTBGRP?=wheel
DTBMODE?=444
DTB=${DTS:R:S/$/.dtb/}
all: ${DTB}