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