From 075cfe3b97bf0e90577bb7e842ba467524fad0ef Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 5 Sep 2014 14:17:05 +0200 Subject: Add support for using a build directory --- functions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.mk') diff --git a/functions.mk b/functions.mk index 45d917399391..c48775db8c3b 100644 --- a/functions.mk +++ b/functions.mk @@ -10,5 +10,5 @@ filename-to-dep = $(dir $1).$(notdir $1).dep # empty string if not found. find-program = $(shell for i in $$(IFS=: ; echo $$PATH); do p=$$i/$(strip $1); if [ -e $$p ]; then echo $$p; break; fi; done) -# Remove trailing slash. +# Ensure that the given string ends in a single slash. add-trailing-slash = $(patsubst %/,%,$(1))/ -- cgit 1.4.1