Makefile.cats.inc revision 1.12
11.12Schris#	$NetBSD: Makefile.cats.inc,v 1.12 2002/11/21 02:05:08 chris Exp $
21.3Schris
31.3Schris.if (${OBJECT_FMT} == "ELF")
41.12Schris# Need to convert the kernel from ELF to a.out so that the firmware
51.5Sthorpej# can load it.
61.3Schris
71.12SchrisLINKFLAGS=	-T ${THISARM}/conf/kern.ldscript
81.3Schris
91.8SskrllSYSTEM_LD_TAIL_EXTRA+=; \
101.10Stsutsui	echo "${DBSYM} $@ || true"; \
111.4Schris	${DBSYM} $@ || true; \
121.12Schris	echo \
131.12Schris	 "${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs $@ $@.aout"; \
141.12Schris	${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs $@ $@.aout
151.7Sskrll.endif
16