Makefile.shark.inc revision 1.28
11.28Srin# $NetBSD: Makefile.shark.inc,v 1.28 2023/07/26 02:31:27 rin Exp $ 21.1Sthorpej 31.3SthorpejCPPFLAGS+= -D${MACHINE} 41.24SmartinCFLAGS+= -fno-unwind-tables 51.1SthorpejGENASSYM_EXTRAS+= ${THISARM}/shark/genassym.cf 61.1Sthorpej 71.1Sthorpej# Need to convert the kernel from ELF to a.out so that OpenFirmware 81.1Sthorpej# can load it. 91.1Sthorpej 101.25SuebayasiKERNLDSCRIPT= ldscript 111.25SuebayasiEXTRA_CLEAN+= ${KERNLDSCRIPT} 121.25Suebayasi 131.23SmartinLOADADDRESS= 0xF0000020 141.5Schs 151.25Suebayasildscript: \ 161.25Suebayasi ${ARM}/conf/kern.ldscript.head \ 171.25Suebayasi ${ARM}/conf/kern.ldscript.tail \ 181.25Suebayasi $S/conf/mkldscript.sh \ 191.25Suebayasi ${SYSTEM_OBJ} 201.5Schs ( cat ${ARM}/conf/kern.ldscript.head ; \ 211.7Stsutsui OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \ 221.5Schs ${SYSTEM_OBJ} ; \ 231.5Schs cat ${ARM}/conf/kern.ldscript.tail ) > ldscript 241.1Sthorpej 251.27SchristosSYSTEM_LD_TAIL_EXTRA+=; \ 261.27Schristos echo "${ARM_ELF2AOUT} $@ $@.aout"; \ 271.27Schristos ${ARM_ELF2AOUT} $@ $@.aout 281.8Sjmmv 291.8SjmmvKERNIMAGES= netbsd netbsd.aout 30