8000972bbe
an overflow occurs. . Make this error a fatal build time error . Move the support for dbsym into the MI Makefile.kern.inc, conditional upon the SYMTAB_SPACE option being defined in the kernel config file.
24 lines
702 B
PHP
24 lines
702 B
PHP
# $NetBSD: Makefile.shark.inc,v 1.6 2005/11/24 12:54:30 dbj Exp $
|
|
|
|
MACHINE_ARCH= arm
|
|
CPPFLAGS+= -D${MACHINE}
|
|
GENASSYM_EXTRAS+= ${THISARM}/shark/genassym.cf
|
|
|
|
.if (${OBJECT_FMT} == "ELF")
|
|
# Need to convert the kernel from ELF to a.out so that OpenFirmware
|
|
# can load it.
|
|
|
|
LINKFLAGS= -T ldscript
|
|
|
|
SYSTEM_LD_HEAD_EXTRA+=; \
|
|
( cat ${ARM}/conf/kern.ldscript.head ; \
|
|
OBJDUMP=${OBJDUMP} ${HOST_SH} ${ARM}/conf/mkldscript.sh \
|
|
${SYSTEM_OBJ} ; \
|
|
cat ${ARM}/conf/kern.ldscript.tail ) > ldscript
|
|
|
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
|
echo \
|
|
"${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment $@ $@.aout"; \
|
|
${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment $@ $@.aout
|
|
.endif
|