replace mrd6 with ecmh

This commit is contained in:
Neale Pickett 2011-10-12 10:50:09 -06:00
parent 195bcd58e8
commit 62c0d3de8c
1 changed files with 16 additions and 15 deletions

View File

@ -44,28 +44,29 @@ radvd-install:
## ##
## mrd6 ## ecmh
## ##
MRD6_CACHE = $(CACHE)/mrd6.git ECMH_CACHE = $(CACHE)/ecmh.git
MRD6_BUILDDIR = $(ROUTER_BUILDDIR)/mrd6 ECMH_BUILDDIR = $(ROUTER_BUILDDIR)/ecmh
MRD6_URL = https://github.com/hugosantos/mrd6.git ECMH_URL = http://woozle.org/~neale/projects/ecmh
$(MRD6_CACHE): $(ECMH_CACHE):
git clone --bare $(MRD6_URL) $@ git clone --bare $(ECMH_URL) $@
router-source: $(MRD6_BUILDDIR) router-source: $(ECMH_BUILDDIR)
$(MRD6_BUILDDIR): $(MRD6_CACHE) $(ECMH_BUILDDIR): $(ECMH_CACHE)
git clone $< $@ git clone $< $@
router-build: $(ROUTER_BUILDDIR)/mrd6-build router-build: $(ROUTER_BUILDDIR)/ecmh-build
$(ROUTER_BUILDDIR)/mrd6-build: $(MRD6_BUILDDIR) $(ROUTER_BUILDDIR)/ecmh-build: $(ECMH_BUILDDIR)
$(MAKE) -C $(MRD6_BUILDDIR) $(MAKE) -C $(ECMH_BUILDDIR)/src ECMH_VERSION=dbtl-git
$(MAKE) -C $(ECMH_BUILDDIR)/tools/mtrace6
touch $@ touch $@
router-install: mrd6-install router-install: ecmh-install
mrd6-install: ecmh-install:
mkdir -p $(ROUTER_PKGDIR)/bin mkdir -p $(ROUTER_PKGDIR)/bin
cp $(MRD6_BUILDDIR)/src/mrd $(ROUTER_PKGDIR)/bin cp $(ECMH_BUILDDIR)/src/ecmh $(ROUTER_PKGDIR)/bin
cp $(ECMH_BUILDDIR)/tools/mtrace6/mtrace6 $(ROUTER_PKGDIR)/bin
PACKAGES += router PACKAGES += router