Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2015 16:21:50 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278462 - in head: share/mk sys/conf
Message-ID:  <201502091621.t19GLoHW026888@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Feb  9 16:21:49 2015
New Revision: 278462
URL: https://svnweb.freebsd.org/changeset/base/278462

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

Modified:
  head/share/mk/bsd.own.mk
  head/sys/conf/dtb.mk

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Mon Feb  9 16:10:30 2015	(r278461)
+++ head/share/mk/bsd.own.mk	Mon Feb  9 16:21:49 2015	(r278462)
@@ -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

Modified: head/sys/conf/dtb.mk
==============================================================================
--- head/sys/conf/dtb.mk	Mon Feb  9 16:10:30 2015	(r278461)
+++ head/sys/conf/dtb.mk	Mon Feb  9 16:21:49 2015	(r278462)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502091621.t19GLoHW026888>