dist/tools: use external setsid tool for OSX
This commit is contained in:
parent
9659eec1f1
commit
0935a5ff20
2
dist/tools/setsid/.gitignore
vendored
Normal file
2
dist/tools/setsid/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
setsid
|
||||||
|
bin
|
||||||
17
dist/tools/setsid/Makefile
vendored
Normal file
17
dist/tools/setsid/Makefile
vendored
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user