diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 index 863f376e9..87fd5ca10 100644 --- a/kernel/Makefile.L3 +++ b/kernel/Makefile.L3 @@ -17,6 +17,16 @@ ifeq ($(ARCH), ia64) USE_GEMM3M = 1 endif +ifneq ($(DYNAMIC_ARCH), 1) +ifeq ($(TARGET), GENERIC) +USE_GEMM3M = 0 +endif +else +ifeq ($(CORE), GENERIC) +USE_GEMM3M = 0 +endif +endif + ifeq ($(ARCH), arm) USE_TRMM = 1 endif