Makefile.cats.inc revision 1.13
11.13Sthorpej#	$NetBSD: Makefile.cats.inc,v 1.13 2003/01/03 02:34:49 thorpej Exp $
21.13Sthorpej
31.13SthorpejCPPFLAGS+=	-D${MACHINE}
41.3Schris
51.3Schris.if (${OBJECT_FMT} == "ELF")
61.12Schris# Need to convert the kernel from ELF to a.out so that the firmware
71.5Sthorpej# can load it.
81.3Schris
91.12SchrisLINKFLAGS=	-T ${THISARM}/conf/kern.ldscript
101.3Schris
111.8SskrllSYSTEM_LD_TAIL_EXTRA+=; \
121.10Stsutsui	echo "${DBSYM} $@ || true"; \
131.4Schris	${DBSYM} $@ || true; \
141.12Schris	echo \
151.12Schris	 "${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs $@ $@.aout"; \
161.12Schris	${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs $@ $@.aout
171.7Sskrll.endif
18