1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 04:51:31 +03:00
mobile-nixos/devices/razer-cheryl2/kernel/0001-mobile-nixos-Workaround-selected-processor-does-not-.patch
Samuel Dionne-Riel 6b7573ffe9 razer-cheryl2: Add kernel build
This does not include the steps to configure. It's been simmering
through a bunch of work in a WIP branch.
2020-10-10 18:54:54 -04:00

30 lines
864 B
Diff

From 834fd7cb1eac09da44ac79d939c41eac54a4da93 Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Sun, 29 Sep 2019 14:42:50 -0400
Subject: [PATCH] [mobile-nixos]: Workaround "selected processor does not
support"
See:
* https://github.com/NixOS/nixpkgs/issues/64916
---
arch/arm64/crypto/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/crypto/Makefile b/arch/arm64/crypto/Makefile
index 28a71246e0a3..3d5a44121565 100644
--- a/arch/arm64/crypto/Makefile
+++ b/arch/arm64/crypto/Makefile
@@ -42,7 +42,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)
--
2.23.0