mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-09 11:08:26 +02:00
7037858a3e
- usbwait/usbwait.c: update the USB device tree until the specified device is detected - usbwait/Makefile: build usbwait (host only) - Makefile (DIRS, BEN_DIRS, upload): separated subdirectories with tools that can run on the Ben from those that can't - Makefile (DIRS): added usbwait/
33 lines
748 B
Makefile
33 lines
748 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-id atrf-path atrf-proxy atrf-reset atrf-rssi atrf-trim \
|
|
atrf-txrx atrf-xmit atrf-xtal
|
|
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/
|