Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

kernel: Commit

kernel


Commit MetaInfo

Revisiona00f6800c7ebfd730db71e0da0dbcbffce47701f (tree)
Time2021-05-24 12:14:48
AuthorMauro Rossi <issor.oruam@gmai...>
CommiterChih-Wei Huang

Log Message

crypto: use $(PERL_PATH) instead of $(PERL)

Fixes the following building error with Android Q:

PERLASM arch/x86/crypto/poly1305-x86_64-cryptogams.S

"perl" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
make[3]: *** [/home/utente/q-x86_kernel/kernel/arch/x86/crypto/Makefile:127: arch/x86/crypto/poly1305-x86_64-cryptogams.S] Error 1

Change Summary

Incremental Difference

--- a/arch/x86/crypto/Makefile
+++ b/arch/x86/crypto/Makefile
@@ -144,7 +144,11 @@ endif
144144 sha512-ssse3-y := sha512-ssse3-asm.o sha512-avx-asm.o sha512-avx2-asm.o sha512_ssse3_glue.o
145145 crct10dif-pclmul-y := crct10dif-pcl-asm_64.o crct10dif-pclmul_glue.o
146146
147+ifndef PERL_PATH
148+ PERL_PATH = /usr/bin/perl
149+endif
150+
147151 quiet_cmd_perlasm = PERLASM $@
148- cmd_perlasm = $(PERL) $< > $@
152+ cmd_perlasm = $(PERL_PATH) $< > $@
149153 $(obj)/%.S: $(src)/%.pl FORCE
150154 $(call if_changed,perlasm)
Show on old repository browser