From fc05734f8a3afca429aaf2b863ebccfb1ab435fc Mon Sep 17 00:00:00 2001 From: Stuart W Baker Date: Mon, 15 Feb 2021 15:16:15 -0600 Subject: [PATCH] Allow applib.mk SRCDIR to be overridden. (#512) --- etc/applib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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