revert previous, riastradh fixed it correctly and this is not needed.
This commit is contained in:
parent
05808a2230
commit
878fdbc71b
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.nbincludes,v 1.9 2024/03/31 03:20:38 christos Exp $
|
||||
# $NetBSD: Makefile.nbincludes,v 1.10 2024/04/01 02:18:30 christos Exp $
|
||||
|
||||
.include <bsd.hostinit.mk>
|
||||
|
||||
|
@ -6,7 +6,6 @@ _ARCHDIR:= ${.PARSEDIR}/../sys/arch
|
|||
_INCDIR:= ${.PARSEDIR}/../include
|
||||
_SYSDIR:= ${.PARSEDIR}/../sys/sys
|
||||
_UFSDIR:= ${.PARSEDIR}/../sys/ufs
|
||||
_ELFTOOLCHAINDIR:= ${.PARSEDIR}/elftoolchain
|
||||
_SUBDIR!= cd ${_ARCHDIR} && ${MAKE} -V SUBDIR
|
||||
|
||||
.if make(depend) || make(all) || make(dependall) || make(install)
|
||||
|
@ -46,5 +45,3 @@ beforedepend:
|
|||
${TOOL_PAX} -rw ${_UFS_INCS} ${TOOLDIR}/include/nbinclude/ufs
|
||||
cd ${TOOLDIR}/include/nbinclude && rm -f machine && \
|
||||
${HOST_INSTALL_SYMLINK} ${MACHINE} machine
|
||||
cd ${_ELFTOOLCHAINDIR}/common/sys && \
|
||||
${TOOL_PAX} -rw elfdefinitions.h ${TOOLDIR}/includes/sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2024/03/31 03:20:38 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2024/04/01 02:18:30 christos Exp $
|
||||
|
||||
.include <bsd.hostinit.mk>
|
||||
|
||||
|
@ -10,10 +10,10 @@ INCS= elfdefinitions.h
|
|||
HOST_INCSDIR= ${TOOLDIR}/include/sys
|
||||
|
||||
# Too early for ${TOOL_M4}
|
||||
#elfdefinitions.h: elfdefinitions.m4 elfconstants.m4
|
||||
# ${_MKTARGET_CREATE}
|
||||
# ${TOOL_M4} -I${SRCDIR} -D SRCDIR=${SRCDIR} ${M4FLAGS} \
|
||||
# elfdefinitions.m4 > ${.TARGET}
|
||||
elfdefinitions.h: elfdefinitions.m4 elfconstants.m4
|
||||
${_MKTARGET_CREATE}
|
||||
${TOOL_M4} -I${SRCDIR} -D SRCDIR=${SRCDIR} ${M4FLAGS} \
|
||||
elfdefinitions.m4 > ${.TARGET}
|
||||
|
||||
.PHONY: all clean clobber depend
|
||||
|
||||
|
@ -35,7 +35,7 @@ includes: .PHONY ${HOST_INCSDIR} .WAIT ${HOST_INCINSTFILES}
|
|||
all dependall depend: ${INCS}
|
||||
|
||||
clean clobber:
|
||||
# rm -f ${INCS}
|
||||
rm -f ${INCS}
|
||||
|
||||
cleandepend:
|
||||
rm -f ${.OBJDIR}/.depend
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue