Home | History | Annotate | Line # | Download | only in riscv32
      1 #	$NetBSD: Makefile,v 1.2 2026/06/09 19:20:32 christos Exp $
      2 
      3 .include "bsd.own.mk"
      4 
      5 CRYPTODIST=${NETBSDSRCDIR}/crypto
      6 .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
      7 
      8 .if make(regen) && ${HAVE_LLVM:U} == "yes"
      9 CC+= -fno-integrated-as
     10 .endif
     11 
     12 regen:
     13 	for i in $$(find ${OPENSSLSRC} -name \*riscv32\*.pl); do \
     14 		j=$$(basename $$i .pl).S; \
     15 		(echo "#include <machine/asm.h>"; CC=${CC:Q} perl $$i) > $$j; \
     16 	done
     17