From 3f46db39e62a5b84ca4cd938d07ca7aa49edfc88 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 24 Aug 2023 07:02:26 +0200 Subject: [PATCH] package/gmp: guard riscv definition In commit 30997eaa65438a2ce726ad8a204ac5a36363f5c8 a mistake was made. Guard the definition correctly. Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/gmp/gmp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk index 3b732dfa71..a077c89d92 100644 --- a/package/gmp/gmp.mk +++ b/package/gmp/gmp.mk @@ -24,7 +24,7 @@ GMP_CONF_OPTS += --disable-assembly endif # GMP needs M extension for riscv assembly -ifeq ($(BR2_RISCV_ISA_CUSTOM_RVM),) +ifeq ($(BR2_riscv):$(BR2_RISCV_ISA_CUSTOM_RVM),y:) GMP_CONF_OPTS += --disable-assembly endif