Module Name:    src
Committed By:   tsutsui
Date:           Sun May 19 15:43:24 UTC 2024

Modified Files:
        src/tools: Makefile.nbincludes

Log Message:
Install cd9660 related system headers for tools installboot(8) builds.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tools/Makefile.nbincludes

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/Makefile.nbincludes
diff -u src/tools/Makefile.nbincludes:1.10 src/tools/Makefile.nbincludes:1.11
--- src/tools/Makefile.nbincludes:1.10	Mon Apr  1 02:18:30 2024
+++ src/tools/Makefile.nbincludes	Sun May 19 15:43:24 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.nbincludes,v 1.10 2024/04/01 02:18:30 christos Exp $
+#	$NetBSD: Makefile.nbincludes,v 1.11 2024/05/19 15:43:24 tsutsui Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -6,12 +6,15 @@ _ARCHDIR:=	${.PARSEDIR}/../sys/arch
 _INCDIR:=	${.PARSEDIR}/../include
 _SYSDIR:=	${.PARSEDIR}/../sys/sys
 _UFSDIR:=	${.PARSEDIR}/../sys/ufs
+_FSDIR:=	${.PARSEDIR}/../sys/fs
 _SUBDIR!=	cd ${_ARCHDIR} && ${MAKE} -V SUBDIR
 
 .if make(depend) || make(all) || make(dependall) || make(install)
 # There's no need to run these commands for "make cleandir" or "make obj",
 # and TOOL_SED will not yet have been built.
 _UFS_INCS!=	cd ${_UFSDIR} && find ffs ufs -name '*.h'
+_FS_INCS!=	cd ${_FSDIR} && find cd9660 -name '*.h'
+_FS_INCS+=	unicode.h
 _ARCH_INCS!=	${TOOL_SED} -e 's/^\#.*//' ${.PARSEDIR}/headerlist
 .endif
 
@@ -34,6 +37,8 @@ beforedepend: 
 	${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude
 	${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/sys
 	${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/ufs
+	${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/fs
+	${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/fs/cd9660
 	cd ${_ARCHDIR} && \
 	    ${TOOL_PAX} -s /include\\/// -rw ${_ARCH_INCS} \
 	    ${TOOLDIR}/include/nbinclude
@@ -43,5 +48,7 @@ beforedepend: 
 	    ${TOOL_PAX} -rw ${_SYSINCS} ${TOOLDIR}/include/nbinclude/sys
 	cd ${_UFSDIR} && \
 	    ${TOOL_PAX} -rw ${_UFS_INCS} ${TOOLDIR}/include/nbinclude/ufs
+	cd ${_FSDIR} && \
+	    ${TOOL_PAX} -rw ${_FS_INCS} ${TOOLDIR}/include/nbinclude/fs
 	cd ${TOOLDIR}/include/nbinclude && rm -f machine && \
 	    ${HOST_INSTALL_SYMLINK} ${MACHINE} machine

Reply via email to