NetBSD/sys/arch/cats/conf/Makefile.cats.inc
thorpej c2e9de7319 Don't define -D${MACHINE} in Makefile.arm. Instead, let platforms
that care define it themselves.  Note that evbarm NO LONGER defines
-D${MACHINE}.
2003-01-03 02:34:48 +00:00

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