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 | ||
asm.h | ||
atomic.h | ||
autoconf.h | ||
bootinfo.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
cpu.h | ||
cpu_counter.h | ||
darwin_machdep.h | ||
db_machdep.h | ||
disklabel.h | ||
elf_machdep.h | ||
endian.h | ||
endian_machdep.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 | ||
ipkdb.h | ||
isa_machdep.h | ||
isapnp_machdep.h | ||
kcore.h | ||
kgdb.h | ||
limits.h | ||
loadfile_machdep.h | ||
lock.h | ||
macho_machdep.h | ||
math.h | ||
mcontext.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
pio.h | ||
platform.h | ||
pmap.h | ||
pmc.h | ||
powerpc.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
setjmp.h | ||
signal.h | ||
spr.h | ||
stdarg.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
wchar_limits.h |