2012-06-12 18:25:32 -06:00
|
|
|
P2_PKGDIR = $(TARGET)/p2
|
|
|
|
|
|
|
|
p2-build: packages/p2/src/modem
|
|
|
|
packages/p2/src/modem:
|
|
|
|
$(MAKE) -C packages/p2/src
|
|
|
|
|
|
|
|
p2-install: packages/p2/src/modem eris ctfbase
|
|
|
|
mkdir -p $(P2_PKGDIR)
|
|
|
|
|
|
|
|
$(call CTFBASE_INSTALL, $(P2_PKGDIR))
|
|
|
|
|
|
|
|
$(call COPYTREE, packages/p2/bin, $(P2_PKGDIR)/bin)
|
|
|
|
|
|
|
|
cp $(ERIS_BIN) $(P2_PKGDIR)/bin/
|
|
|
|
cp packages/p2/src/modem $(P2_PKGDIR)/bin/
|
|
|
|
|
|
|
|
$(call COPYTREE, packages/p2/service, $(P2_PKGDIR)/service)
|
|
|
|
|
2012-06-12 21:07:56 -06:00
|
|
|
$(call COPYTREE, packages/p2/www, $(P2_PKGDIR)/www)
|
2012-06-12 18:25:32 -06:00
|
|
|
|
|
|
|
p2-clean:
|
|
|
|
$(MAKE) -C packages/p2/src
|
|
|
|
|
|
|
|
PACKAGES += p2
|
|
|
|
|