1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 23:39:22 +02:00
ben-wpan/tools/Makefile
Stefan Schmidt 55de8c6373 atusb-eui64: add utility to read/write and EUI64 from/to the device EEPROM
Together with the new fw version (starting with version 0.3) it is now possible
to set a permament EUI64 address into the devices EEPROM. The Linux driver will
get updated to choose this address, if available, instead of using a randomly
generated address.
2016-03-17 22:29:43 +01:00

44 lines
988 B
Makefile

#
# tools/Makefile - Build the ATRF-specific tools
#
# Written 2010-2011 by Werner Almesberger
# Copyright 2010-2011 Werner Almesberger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
BEN_DIRS=atrf-gpio atrf-id atrf-path atrf-proxy atrf-reset \
atrf-rssi atrf-trim atrf-txrx atrf-xmit atrf-xtal \
atusb-eui64
ifneq ($(wildcard ../install/lowpan-tools-0.2.2/include/ieee802154.h),)
DIRTPAN := dirtpan
endif
ifneq ($(wildcard ../install/linux-zigbee/include/ieee802154.h),)
DIRTPAN := dirtpan
endif
BEN_DIRS += $(DIRTPAN)
DIRS=$(BEN_DIRS) usbwait
TARGET_ONLY_DIRS=lib
ifeq ($(TARGET),ben_jlime)
HOST = jlime
else
HOST = ben
endif
include ../makefiles/Makefile.recurse
.PHONY: upload
upload:
scp `for n in $(BEN_DIRS); do \
echo $$n/$$n; done` $(HOST):/usr/bin/