1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5.PATH: ${LDRSRC} 6 7LIB= efi_fdt 8INTERNALLIB= 9WARNS?= 6 10 11SRCS= efi_fdt.c 12 13CFLAGS+= -ffreestanding 14.if ${MACHINE_CPUARCH} == "aarch64" 15CFLAGS+= -mgeneral-regs-only 16.else 17CFLAGS+= -msoft-float 18.endif 19 20# EFI library headers 21CFLAGS+= -I${EFISRC}/include 22CFLAGS+= -I${EFISRC}/include/${MACHINE} 23 24# libfdt headers 25CFLAGS+= -I${FDTSRC} 26 27# Pick up the bootstrap header for some interface items 28CFLAGS+= -I${LDRSRC} 29 30.include <bsd.lib.mk> 31