c2e9de7319
that care define it themselves. Note that evbarm NO LONGER defines -D${MACHINE}.
18 lines
490 B
PHP
18 lines
490 B
PHP
# $NetBSD: Makefile.cats.inc,v 1.13 2003/01/03 02:34:49 thorpej Exp $
|
|
|
|
CPPFLAGS+= -D${MACHINE}
|
|
|
|
.if (${OBJECT_FMT} == "ELF")
|
|
# Need to convert the kernel from ELF to a.out so that the firmware
|
|
# can load it.
|
|
|
|
LINKFLAGS= -T ${THISARM}/conf/kern.ldscript
|
|
|
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
|
echo "${DBSYM} $@ || true"; \
|
|
${DBSYM} $@ || true; \
|
|
echo \
|
|
"${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs $@ $@.aout"; \
|
|
${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs $@ $@.aout
|
|
.endif
|