diff --git a/pkg/openwsn/Makefile b/pkg/openwsn/Makefile
index beb06cc3e63040e0d72f26ffdf92ffebf84c5ed3..5961ed7b671b806a65b8ece90304d28f94de898f 100644
--- a/pkg/openwsn/Makefile
+++ b/pkg/openwsn/Makefile
@@ -5,6 +5,6 @@ PKG_VERSION=ff25e5d0ae5d344ed793a724d60532fb917bf1f8
 .PHONY: all
 
 all: git-download
-	"$(MAKE)" -C $(PKG_DIR)
+	"$(MAKE)" -C $(PKG_BUILDDIR)
 
 include $(RIOTBASE)/pkg/pkg.mk