Commit d3df8bc3 authored by Adam Dunkels's avatar Adam Dunkels
Browse files

Update makefiles to git release tags and directories

parent ab0c04b0
......@@ -3,7 +3,7 @@ ifndef TAG
${error You must specify the RELEASE variable (e.g. make RELEASE=2.5)}
endif
RELEASETAG=$(subst .,-,$(RELEASE))
TAG=contiki-$(RELEASETAG)
TAG=$(RELEASE)
else
RELEASE=$(TAG)
endif
......
contiki-raven:
(cd contiki-2.x/examples/webserver-ipv6-raven; make)
(cd contiki-2.x/platform/avr-ravenlcd; make)
(cd contiki-2.x/examples/ravenusbstick; make)
(cd contiki/examples/webserver-ipv6-raven; make)
(cd contiki/platform/avr-ravenlcd; make)
(cd contiki/examples/ravenusbstick; make)
mkdir contiki-raven-$(RELEASE)
cp contiki-2.x/examples/webserver-ipv6-raven/webserver6.elf contiki-raven-$(RELEASE)
cp contiki-2.x/platform/avr-ravenlcd/ravenlcd_3290.elf contiki-raven-$(RELEASE)
cp contiki-2.x/examples/ravenusbstick/ravenusbstick.elf contiki-raven-$(RELEASE)
cp contiki-2.x/cpu/avr/dev/usb/INF/*.inf contiki-raven-$(RELEASE)
cp contiki/examples/webserver-ipv6-raven/webserver6.elf contiki-raven-$(RELEASE)
cp contiki/platform/avr-ravenlcd/ravenlcd_3290.elf contiki-raven-$(RELEASE)
cp contiki/examples/ravenusbstick/ravenusbstick.elf contiki-raven-$(RELEASE)
cp contiki/cpu/avr/dev/usb/INF/*.inf contiki-raven-$(RELEASE)
contiki-raven-$(RELEASE).zip: contiki-raven
tar czf contiki-raven-$(RELEASE).tar.gz contiki-raven-$(RELEASE)
......
contiki-collect-sky:
(cd contiki-2.x/tools/collect-view/; ant dist && chmod 755 dist/tools/*-linux)
cp -r contiki-2.x/tools/collect-view/dist contiki-collect-sky-$(RELEASE)
(cd contiki/tools/collect-view/; ant dist && chmod 755 dist/tools/*-linux)
cp -r contiki/tools/collect-view/dist contiki-collect-sky-$(RELEASE)
contiki-collect-sky-$(RELEASE).zip: contiki-collect-sky
zip -r contiki-collect-sky-$(RELEASE).zip contiki-collect-sky-$(RELEASE)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment