Changeset View
Changeset View
Standalone View
Standalone View
tools/build/Makefile
| Show First 20 Lines • Show All 345 Lines • ▼ Show 20 Lines | |||||
| MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/bootsect.h | MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/bootsect.h | ||||
| MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/bpb.h | MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/bpb.h | ||||
| MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/denode.h | MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/denode.h | ||||
| MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/direntry.h | MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/direntry.h | ||||
| MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/fat.h | MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/fat.h | ||||
| MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/msdosfsmount.h | MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/msdosfsmount.h | ||||
| DISKINCS+= ${SRCTOP}/sys/sys/disk/bsd.h | DISKINCS+= ${SRCTOP}/sys/sys/disk/bsd.h | ||||
| .if ${.MAKE.OS} == "FreeBSD" | |||||
| # Needed to build most of the things below, which include sys/cdefs.h either | # Needed to build most of the things below, which include sys/cdefs.h either | ||||
| # directly or transitively | # directly or transitively | ||||
| SYSINCS+= ${SRCTOP}/sys/sys/_visible.h | SYSINCS+= ${SRCTOP}/sys/sys/_visible.h | ||||
| SYSINCS+= ${SRCTOP}/sys/sys/cdefs.h | SYSINCS+= ${SRCTOP}/sys/sys/cdefs.h | ||||
dim: Note that I added `_visible.h` as a dependency of `cdefs.h`, so it would be better to put the… | |||||
| .endif | |||||
| # Needed to build config (since it uses libnv) | # Needed to build config (since it uses libnv) | ||||
| SYSINCS+= ${SRCTOP}/sys/sys/_nv.h | SYSINCS+= ${SRCTOP}/sys/sys/_nv.h | ||||
| SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h \ | SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h \ | ||||
| ${SRCTOP}/sys/sys/dnv.h ${SRCTOP}/sys/sys/nv_namespace.h | ${SRCTOP}/sys/sys/dnv.h ${SRCTOP}/sys/sys/nv_namespace.h | ||||
| # Needed when bootstrapping ldd (since it uses DF_1_PIE) | # Needed when bootstrapping ldd (since it uses DF_1_PIE) | ||||
| SYSINCS+= ${SRCTOP}/sys/sys/elf32.h | SYSINCS+= ${SRCTOP}/sys/sys/elf32.h | ||||
| ▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines | |||||
Note that I added _visible.h as a dependency of cdefs.h, so it would be better to put the whole block inside the .if, including the "Needed to build" comment.