From e7c4d6705a41910240dd19b9e7082a422563bf15 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 17 Sep 2019 18:56:04 +0200 Subject: [PATCH] Revert #2051 and replace with a better fix (#2261) * Revert #2051 and add a better fix for TARGET=generic with DYNAMIC_ARCH fixes #2257 without breaking #2048 again --- kernel/Makefile.L3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 index f83def47b..7998c135a 100644 --- a/kernel/Makefile.L3 +++ b/kernel/Makefile.L3 @@ -24,9 +24,11 @@ ifeq ($(TARGET), LOONGSON3B) USE_TRMM = 1 endif -ifeq ($(CORE), GENERIC) +ifneq ($(DYNAMIC_ARCH), 1) +ifeq ($(TARGET), GENERIC) USE_TRMM = 1 endif +endif ifeq ($(CORE), HASWELL) USE_TRMM = 1