2014-05-23 15:54:04 +00:00
|
|
|
LICENSE := BSD
|
|
|
|
VERSION := git
|
|
|
|
DOWNLOADS := rump.git nblibs.git
|
|
|
|
|
2014-08-14 15:16:06 +00:00
|
|
|
URL(rump) := https://github.com/rumpkernel/buildrump.sh.git
|
|
|
|
REV(rump) := fd4bdac4ad6357a36b9a0af6abde02bf3bb42232
|
2014-05-23 15:54:04 +00:00
|
|
|
DIR(rump) := src/lib/dde_rump
|
|
|
|
|
2014-08-14 15:16:06 +00:00
|
|
|
URL(nblibs) := https://github.com/rumpkernel/src-netbsd.git
|
|
|
|
REV(nblibs) := b71ee7667ea9904c28b089feadc594a62f406bd5
|
2014-05-23 15:54:04 +00:00
|
|
|
DIR(nblibs) := src/lib/dde_rump/nblibs
|
|
|
|
|
|
|
|
PATCHES := $(shell find $(REP_DIR)/patches/*.patch)
|
|
|
|
PATCH_OPT := -N -d ${DIR(rump)} -p1
|
|
|
|
|
2014-08-14 15:16:06 +00:00
|
|
|
GIT_NETBSD_COMMIT := 0875d49ae93a8101d5321b7a73983daee5c1b581
|
|
|
|
NETBSD_SRC := src/lib/dde_rump/src
|
|
|
|
|
2014-05-23 15:54:04 +00:00
|
|
|
|
|
|
|
# checkout NetBSD sources
|
|
|
|
default: checkout_src
|
|
|
|
checkout_src: $(DOWNLOADS)
|
|
|
|
@$(MSG_PREFIX)"checkout NetBSD src "
|
2014-08-14 15:16:06 +00:00
|
|
|
$(VERBOSE)if [ -d "$(NETBSD_SRC)/.git" ]; then cd $(NETBSD_SRC) && git checkout -f; fi
|
2014-05-23 15:54:04 +00:00
|
|
|
$(VERBOSE)src/lib/dde_rump/checkout.sh git src/lib/dde_rump/src
|
2014-08-14 15:16:06 +00:00
|
|
|
$(VERBOSE)cd $(NETBSD_SRC) && git reset --hard $(GIT_NETBSD_COMMIT)
|
|
|
|
$(VERBOSE)ln -sf ../src/common src/lib/dde_rump/nblibs/common
|
|
|
|
|
2014-05-23 15:54:04 +00:00
|
|
|
|
|
|
|
DIRS := include/rump
|
|
|
|
DIR_CONTENT(include/rump) := src/lib/dde_rump/src/sys/rump/include/rump/*.h
|
|
|
|
|
|
|
|
# vi: set ft=make :
|