mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f08116f3ce
Prepare for handling pkg state with files. So it requires having the path defined before declaring targets. In addition, it cleans up the old git-download target.
16 lines
414 B
Makefile
16 lines
414 B
Makefile
PKG_NAME = setsid
|
|
PKG_URL = https://github.com/tzvetkoff/setsid-macosx
|
|
PKG_VERSION = e5b851df41591021baf5cf88d4e41572baf8e08b
|
|
PKG_LICENSE = BSD-2-Clause
|
|
PKG_BUILDDIR = $(CURDIR)/bin
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
all:
|
|
@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
|