# $NetBSD: Makefile,v 1.5.4.1 2023/08/02 10:28:07 martin Exp $ .include "../Makefile.inc" .include "../drmkms/Makefile.inc" KMOD= amdgpu IOCONF= amdgpu.ioconf MKLDSCRIPT=yes WARNS= 3 .if ${MACHINE_ARCH} == "x86_64" COPTS.amdgpu_float+= ${${ACTIVE_CC} == "gcc" :? -mhard-float :} -msse -msse2 .elif !empty(MACHINE_ARCH:Maarch64*) COPTS.amdgpu_float+= -march=armv8-a .endif # sed -ne 's,^makeoptions amdgpu "\([^.]*\)\.amdgpu"+="\(.*\)",\1+= \2,gp' # XXX CFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}