浏览代码

package/gmp: guard riscv definition

In commit 30997eaa65438a2ce726ad8a204ac5a36363f5c8 a mistake
was made. Guard the definition correctly.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Waldemar Brodkorb 1 年之前
父节点
当前提交
3f46db39e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/gmp/gmp.mk

+ 1 - 1
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