From: Marcel Denia Date: Sat, 2 May 2015 14:47:03 +0000 (+0200) Subject: perl: Allow changing the default directory for perlmod/Compile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f7e3977a55a9c8c3e13dc02dd58a2b9e1d943dd;p=feed%2Fpackages.git perl: Allow changing the default directory for perlmod/Compile Signed-off-by: Marcel Denia --- diff --git a/lang/perl/perlmod.mk b/lang/perl/perlmod.mk index 68cb392a61..6cc1e4ccc8 100644 --- a/lang/perl/perlmod.mk +++ b/lang/perl/perlmod.mk @@ -108,7 +108,7 @@ endef define perlmod/Compile PERL5LIB=$(PERL_LIB) \ $(2) \ - $(MAKE) -C $(PKG_BUILD_DIR) \ + $(MAKE) -C $(if $(3),$(3),$(PKG_BUILD_DIR)) \ $(1) \ install endef