Skip to content

Commit

Permalink
cross-build: fix missing <sys/md4.h> the proper way
Browse files Browse the repository at this point in the history
Add it to tools/build/Makefile with a short note of where it's needed,
rather than hamfistedly copying it into the tools/build hierarchy.

Reported by:	jrtc27
Reviewed by:	jrtc27
Fixes:	aad5078 ("Fix the cross-build after recent commits")
Differential Revision:	https://reviews.freebsd.org/D46854
  • Loading branch information
kevans91 committed Oct 18, 2024
1 parent 0bdf253 commit 8306900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 91 deletions.
4 changes: 4 additions & 0 deletions tools/build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ SYSINCS+= ${SRCTOP}/sys/sys/ctf.h
SYSINCS+= ${SRCTOP}/sys/sys/kbio.h
# for kldxref:
SYSINCS+= ${SRCTOP}/sys/sys/module.h
.if ${.MAKE.OS} != "FreeBSD"
# for libmd:
SYSINCS+= ${SRCTOP}/sys/sys/md4.h
.endif

# We want to run the build with only ${WORLDTMP} in $PATH to ensure we don't
# accidentally run tools that are incompatible but happen to be in $PATH.
Expand Down
91 changes: 0 additions & 91 deletions tools/build/cross-build/include/common/sys/md4.h

This file was deleted.

0 comments on commit 8306900

Please sign in to comment.