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. |
||
---|---|---|
.. | ||
Makefile | ||
ansi.h | ||
aout_machdep.h | ||
apmvar.h | ||
asm.h | ||
autoconf.h | ||
bootinfo.h | ||
bsd-aout.h | ||
bswap.h | ||
bus.h | ||
bus_dma_hpcmips.h | ||
bus_machdep.h | ||
bus_space_hpcmips.h | ||
bus_types.h | ||
cdefs.h | ||
config_hook.h | ||
cpu.h | ||
cpu_counter.h | ||
db_machdep.h | ||
debug.h | ||
disklabel.h | ||
ecoff_machdep.h | ||
elf_machdep.h | ||
endian.h | ||
endian_machdep.h | ||
float.h | ||
ieee.h | ||
ieeefp.h | ||
int_const.h | ||
int_fmtio.h | ||
int_limits.h | ||
int_mwgwtypes.h | ||
int_types.h | ||
intr.h | ||
isa_machdep.h | ||
isapnp_machdep.h | ||
kcore.h | ||
kdbparam.h | ||
kloader.h | ||
limits.h | ||
loadfile_machdep.h | ||
lock.h | ||
locore.h | ||
math.h | ||
mcontext.h | ||
mips_opcode.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
platid.h | ||
platid_generated.h | ||
platid_mask.h | ||
pmap.h | ||
pmc.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
regdef.h | ||
regnum.h | ||
reloc.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
sysconf.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
wchar_limits.h |