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 | ||
atomic.h | ||
bootconfig.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
cpu.h | ||
cyclone_boot.h | ||
db_machdep.h | ||
disklabel.h | ||
elf_machdep.h | ||
endian_machdep.h | ||
endian.h | ||
float.h | ||
fp.h | ||
frame.h | ||
ieee.h | ||
ieeefp.h | ||
int_const.h | ||
int_fmtio.h | ||
int_limits.h | ||
int_mwgwtypes.h | ||
int_types.h | ||
intr.h | ||
ipkdb.h | ||
irqhandler.h | ||
isa_machdep.h | ||
isapnp_machdep.h | ||
joystick.h | ||
limits.h | ||
lock.h | ||
Makefile | ||
math.h | ||
mcontext.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
pio.h | ||
pmap.h | ||
pmc.h | ||
proc.h | ||
profile.h | ||
ptrace.h | ||
reg.h | ||
rtc.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
sysarch.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
wchar_limits.h |