a37289db57
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel, ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/. To avoid clashes with a build-host's header files, especially on *BSD, the host-tools versions of fdisk and disklabel search for #includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h, and bootinfo.h in a new #includes namespace, nbinclude/. That is, they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>, <nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and such. I have also updated the system headers to #include from nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined. |
||
---|---|---|
.. | ||
ansi.h | ||
aout_machdep.h | ||
asm.h | ||
bootparams.h | ||
bswap.h | ||
bus.h | ||
byte_swap.h | ||
cacheops.h | ||
cdefs.h | ||
conreg.h | ||
cpu.h | ||
cputypes.h | ||
db_machdep.h | ||
disklabel.h | ||
elf_machdep.h | ||
endian_machdep.h | ||
endian.h | ||
float.h | ||
fpu.h | ||
frame.h | ||
ieee.h | ||
ieeefp.h | ||
int_const.h | ||
int_fmtio.h | ||
int_limits.h | ||
int_mwgwtypes.h | ||
int_types.h | ||
intr.h | ||
limits.h | ||
lock.h | ||
Makefile | ||
math.h | ||
mcontext.h | ||
memregion.h | ||
netbsd32_machdep.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
pmap.h | ||
pmc.h | ||
proc.h | ||
profile.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
wchar_limits.h |