diff --git a/etc/applib.mk b/etc/applib.mk index fc066e35d..192dd394d 100644 --- a/etc/applib.mk +++ b/etc/applib.mk @@ -3,7 +3,7 @@ ifeq ($(TARGET),) TARGET := $(notdir $(realpath $(CURDIR)/..)) endif BASENAME := $(notdir $(CURDIR)) -SRCDIR = $(abspath ../../../$(BASENAME)) +SRCDIR ?= $(abspath ../../../$(BASENAME)) VPATH = $(SRCDIR) INCLUDES += -I./ -I../ -I../include