From 3a125b6396b5a0ed0a4efb44935b3e830013c128 Mon Sep 17 00:00:00 2001
From: cladmi <gaetan.harter@fu-berlin.de>
Date: Wed, 22 Aug 2018 17:20:48 +0200
Subject: [PATCH] pkg/jerryscript: build into '$(BINDIR)'

Build into the BINDIR directory instead of the source repository.
This makes 'clean' work as expected without other intervention.

Also it goes in the direction of having the package source repository
board independent.
---
 pkg/jerryscript/Makefile.jerryscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/jerryscript/Makefile.jerryscript b/pkg/jerryscript/Makefile.jerryscript
index 8e252c26b5..504c79590f 100644
--- a/pkg/jerryscript/Makefile.jerryscript
+++ b/pkg/jerryscript/Makefile.jerryscript
@@ -1,4 +1,4 @@
-BUILD_DIR  ?= $(CURDIR)/riot
+BUILD_DIR  ?= $(BINDIR)/jerryscript
 
 JERRYHEAP  ?= 16
 
-- 
GitLab