mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-26 01:13:37 +03:00
asus-z00t: fixes build
See https://github.com/NixOS/nixpkgs/issues/64916
This commit is contained in:
parent
8c8d48c7c7
commit
828b1619f9
13
devices/asus-z00t/kernel/01_more_precise_arch.patch
Normal file
13
devices/asus-z00t/kernel/01_more_precise_arch.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/arch/arm64/crypto/Makefile b/arch/arm64/crypto/Makefile
|
||||
index abb79b3cfcfe..a0f8d8f9e88a 100644
|
||||
--- a/arch/arm64/crypto/Makefile
|
||||
+++ b/arch/arm64/crypto/Makefile
|
||||
@@ -36,7 +36,7 @@ CFLAGS_aes-glue-ce.o := -DUSE_V8_CRYPTO_EXTENSIONS
|
||||
|
||||
obj-$(CONFIG_CRYPTO_CRC32_ARM64) += crc32-arm64.o
|
||||
|
||||
-CFLAGS_crc32-arm64.o := -mcpu=generic+crc
|
||||
+CFLAGS_crc32-arm64.o := -march=armv8-a+crc
|
||||
|
||||
$(obj)/aes-glue-%.o: $(src)/aes-glue.c FORCE
|
||||
$(call if_changed_rule,cc_o_c)
|
@ -21,6 +21,7 @@
|
||||
|
||||
patches = [
|
||||
./0001-Porting-changes-found-in-LineageOS-android_kernel_cy.patch
|
||||
./01_more_precise_arch.patch
|
||||
./01_fix_gcc6_errors.patch
|
||||
./02_mdss_fb_refresh_rate.patch
|
||||
./05_dtb-fix.patch
|
||||
|
Loading…
Reference in New Issue
Block a user