diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 index f83def47b4..c903e0b400 100644 --- a/kernel/Makefile.L3 +++ b/kernel/Makefile.L3 @@ -24,9 +24,15 @@ ifeq ($(TARGET), LOONGSON3B) USE_TRMM = 1 endif +ifeq ($(DYNAMIC_ARCH), 1) ifeq ($(CORE), GENERIC) USE_TRMM = 1 endif +else +ifeq ($(TARGET), GENERIC) +USE_TRMM = 1 +endif +endif ifeq ($(CORE), HASWELL) USE_TRMM = 1