dist/tools: use external setsid tool for OSX

This commit is contained in:
Alexandre Abadie 2018-10-19 13:25:16 +02:00
parent 9659eec1f1
commit 0935a5ff20
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 19 additions and 0 deletions

2
dist/tools/setsid/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
setsid
bin

17
dist/tools/setsid/Makefile vendored Normal file
View File

@ -0,0 +1,17 @@
PKG_NAME = setsid
PKG_URL = https://github.com/tzvetkoff/setsid-macosx
PKG_VERSION = e5b851df41591021baf5cf88d4e41572baf8e08b
PKG_LICENSE = BSD-2-Clause
PKG_BUILDDIR = $(CURDIR)/bin
.PHONY: all
all: git-download
@echo "[INFO] compiling setsid from source now"
$(MAKE) BINDIR=$(PKG_BUILDDIR) -C $(PKG_BUILDDIR)
@mv $(PKG_BUILDDIR)/setsid $(CURDIR)/setsid
distclean::
@rm -f $(CURDIR)/setsid
include $(RIOTBASE)/pkg/pkg.mk