11.9Sskrll# $NetBSD: Makefile,v 1.9 2022/04/02 11:16:08 skrll Exp $ 21.1Sjmcneill 31.1SjmcneillPROG= bootarm.efi 41.1SjmcneillOBJFMT= binary 51.4SjmcneillNEWVERSWHAT= "efiboot (arm)" 61.1SjmcneillGNUEFIARCH= arm 71.1SjmcneillLIBGNUEFI_ARCH= arm 81.7SjmcneillOBJCOPY_FORMAT= -O binary 91.1Sjmcneill 101.8SjmcneillEFIBOOT_FDT= yes 111.8Sjmcneill 121.1SjmcneillEXTRA_SOURCES= efibootarm.c 131.1SjmcneillEXTRA_SOURCES+= cache.S 141.1Sjmcneill 151.6SjmcneillCOPTS+= -mfloat-abi=soft -mno-unaligned-access -mlittle-endian 161.6SjmcneillCOPTS+= -ffreestanding -fno-unwind-tables 171.6SjmcneillAFLAGS+= -mlittle-endian 181.1SjmcneillCFLAGS+= -DEFIBOOT_ALIGN=0x1000000 191.9SskrllCFLAGS+= -DEFIBOOT_RUNTIME_ADDRESS=0x00010000U 201.9SskrllCFLAGS+= -DEFIBOOT_RUNTIME_SIZE=0x7ff0000U 211.5SjmcneillCFLAGS+= -DEFIBOOT_MODULE_MACHINE=\"evbarm\" 221.9Sskrll#CPPFLAGS.efifdt.c+= -Wconversion 231.6SjmcneillLDFLAGS+= -N -EL 241.1Sjmcneill 251.1Sjmcneill.include "${.CURDIR}/../Makefile.efiboot" 261.1Sjmcneill 271.1Sjmcneillrelease: check_RELEASEDIR 281.1Sjmcneill ${HOST_INSTALL_FILE} -m ${BINMODE} ${PROG} \ 291.2Schristos ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc 30