# $NetBSD: Makefile.cats.inc,v 1.15 2003/10/04 15:43:05 chris Exp $ CPPFLAGS+= -D${MACHINE} .if (${OBJECT_FMT} == "ELF") .if defined(ABLEELF) && (${ABLEELF} == "1") # use a standard ELF format, adjusted to align areas LINKFLAGS= -T ${THISARM}/conf/ldscript.elf .else # 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 -R .comment $@ $@.aout"; \ ${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment $@ $@.aout .endif .endif