IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
| Source at commit ea23c905d32bfd2478915021476f9ede2ee014b8 created 6 years 3 months ago. By Josef Filzmaier, atusb/fw: Introduction of a new board named HULUSB | |
|---|---|
| 1 | # |
| 2 | # tools/Makefile - Build the ATRF-specific tools |
| 3 | # |
| 4 | # Written 2010-2011 by Werner Almesberger |
| 5 | # Copyright 2010-2011 Werner Almesberger |
| 6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as published by |
| 9 | # the Free Software Foundation; either version 2 of the License, or |
| 10 | # (at your option) any later version. |
| 11 | # |
| 12 | |
| 13 | |
| 14 | BEN_DIRS=atrf-gpio atrf-id atrf-path atrf-proxy atrf-reset \ |
| 15 | atrf-rssi atrf-trim atrf-txrx atrf-xmit atrf-xtal \ |
| 16 | atusb-eui64 |
| 17 | |
| 18 | ifneq ($(wildcard ../install/lowpan-tools-0.2.2/include/ieee802154.h),) |
| 19 | DIRTPAN := dirtpan |
| 20 | endif |
| 21 | ifneq ($(wildcard ../install/linux-zigbee/include/ieee802154.h),) |
| 22 | DIRTPAN := dirtpan |
| 23 | endif |
| 24 | |
| 25 | BEN_DIRS += $(DIRTPAN) |
| 26 | |
| 27 | DIRS=$(BEN_DIRS) usbwait |
| 28 | TARGET_ONLY_DIRS=lib |
| 29 | |
| 30 | ifeq ($(TARGET),ben_jlime) |
| 31 | HOST = jlime |
| 32 | else |
| 33 | HOST = ben |
| 34 | endif |
| 35 | |
| 36 | |
| 37 | include ../makefiles/Makefile.recurse |
| 38 | |
| 39 | .PHONY: upload |
| 40 | |
| 41 | upload: |
| 42 | scp `for n in $(BEN_DIRS); do \ |
| 43 | echo $$n/$$n; done` $(HOST):/usr/bin/ |
| 44 | |
