Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 07:50:01 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r293085 - in user/ngie/stable-10-libnv: lib/libnv sys/conf sys/contrib/libnv sys/kern sys/sys
Message-ID:  <201601030750.u037o1V3001689@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Jan  3 07:50:01 2016
New Revision: 293085
URL: https://svnweb.freebsd.org/changeset/base/293085

Log:
  MFC r285139:
  r285139 (by oshogbo):
  
  Move the nvlist source and private includes from sys/kern to seperate
  directory sys/contrib/libnv.
  
  The goal of this operation is to NOT install header files which shouldn't
  be used outside the nvlist library.

Added:
  user/ngie/stable-10-libnv/sys/contrib/libnv/
     - copied from r285139, head/sys/contrib/libnv/
Deleted:
  user/ngie/stable-10-libnv/sys/kern/subr_dnvlist.c
  user/ngie/stable-10-libnv/sys/kern/subr_nvlist.c
  user/ngie/stable-10-libnv/sys/kern/subr_nvpair.c
  user/ngie/stable-10-libnv/sys/sys/nv_impl.h
  user/ngie/stable-10-libnv/sys/sys/nvlist_impl.h
  user/ngie/stable-10-libnv/sys/sys/nvpair_impl.h
Modified:
  user/ngie/stable-10-libnv/lib/libnv/Makefile
  user/ngie/stable-10-libnv/sys/conf/files
Directory Properties:
  user/ngie/stable-10-libnv/   (props changed)

Modified: user/ngie/stable-10-libnv/lib/libnv/Makefile
==============================================================================
--- user/ngie/stable-10-libnv/lib/libnv/Makefile	Sun Jan  3 07:47:35 2016	(r293084)
+++ user/ngie/stable-10-libnv/lib/libnv/Makefile	Sun Jan  3 07:50:01 2016	(r293085)
@@ -7,13 +7,13 @@ SHLIBDIR?= /lib
 LIB=	nv
 SHLIB_MAJOR= 0
 
-.PATH: ${.CURDIR}/../../sys/kern ${.CURDIR}/../../sys/sys
+.PATH: ${.CURDIR}/../../sys/contrib/libnv ${.CURDIR}/../../sys/sys
 CFLAGS+=-I${.CURDIR}/../../sys -I${.CURDIR}
 
-SRCS=	subr_dnvlist.c
+SRCS=	dnvlist.c
 SRCS+=	msgio.c
-SRCS+=	subr_nvlist.c
-SRCS+=	subr_nvpair.c
+SRCS+=	nvlist.c
+SRCS+=	nvpair.c
 
 INCS=	dnv.h
 INCS+=	nv.h

Modified: user/ngie/stable-10-libnv/sys/conf/files
==============================================================================
--- user/ngie/stable-10-libnv/sys/conf/files	Sun Jan  3 07:47:35 2016	(r293084)
+++ user/ngie/stable-10-libnv/sys/conf/files	Sun Jan  3 07:50:01 2016	(r293085)
@@ -476,6 +476,9 @@ contrib/libfdt/fdt_rw.c		optional fdt
 contrib/libfdt/fdt_strerror.c	optional fdt
 contrib/libfdt/fdt_sw.c		optional fdt
 contrib/libfdt/fdt_wip.c	optional fdt
+contrib/libnv/dnvlist.c		standard
+contrib/libnv/nvlist.c		standard
+contrib/libnv/nvpair.c		standard
 contrib/ngatm/netnatm/api/cc_conn.c optional ngatm_ccatm \
 	compile-with "${NORMAL_C_NOWERROR} -I$S/contrib/ngatm"
 contrib/ngatm/netnatm/api/cc_data.c optional ngatm_ccatm \
@@ -3078,7 +3081,6 @@ kern/subr_clock.c		standard
 kern/subr_counter.c		standard
 kern/subr_devstat.c		standard
 kern/subr_disk.c		standard
-kern/subr_dnvlist.c		standard
 kern/subr_eventhandler.c	standard
 kern/subr_fattime.c		standard
 kern/subr_firmware.c		optional firmware
@@ -3092,8 +3094,6 @@ kern/subr_mbpool.c		optional libmbpool
 kern/subr_mchain.c		optional libmchain
 kern/subr_module.c		standard
 kern/subr_msgbuf.c		standard
-kern/subr_nvlist.c		standard
-kern/subr_nvpair.c		standard
 kern/subr_param.c		standard
 kern/subr_pcpu.c		standard
 kern/subr_pctrie.c		standard



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