From 227e620d117832f73461b41704fa1eaee2e49277 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 21 May 2021 09:51:56 +0100 Subject: [PATCH] Allow UI_TYPE=stub target Signed-off-by: falkTX --- Makefile.plugins.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile.plugins.mk b/Makefile.plugins.mk index 431dad38..8e4e9fa3 100644 --- a/Makefile.plugins.mk +++ b/Makefile.plugins.mk @@ -120,6 +120,15 @@ DGL_FLAGS += -DDGL_EXTERNAL HAVE_DGL = true endif +ifeq ($(UI_TYPE),stub) +ifeq ($(HAVE_STUB),true) +DGL_LIB = $(DPF_PATH)/build/libdgl-stub.a +HAVE_DGL = true +else +HAVE_DGL = false +endif +endif + DGL_LIBS += $(DGL_SYSTEM_LIBS) ifneq ($(HAVE_DGL),true)