Root/tools/Makefile

Source at commit 49e7c83796bc04941e9dbcec69bc0751563ff4d4 created 2 years 4 months ago.
By Werner Almesberger, atusb/: use ""VDD" symbol from kicad-libs
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
14BEN_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
18ifneq ($(wildcard ../install/lowpan-tools-0.2.2/include/ieee802154.h),)
19DIRTPAN := dirtpan
20endif
21ifneq ($(wildcard ../install/linux-zigbee/include/ieee802154.h),)
22DIRTPAN := dirtpan
23endif
24
25BEN_DIRS += $(DIRTPAN)
26
27DIRS=$(BEN_DIRS) usbwait
28TARGET_ONLY_DIRS=lib
29
30ifeq ($(TARGET),ben_jlime)
31HOST = jlime
32else
33HOST = ben
34endif
35
36
37include ../makefiles/Makefile.recurse
38
39.PHONY: upload
40
41upload:
42        scp `for n in $(BEN_DIRS); do \
43            echo $$n/$$n; done` $(HOST):/usr/bin/
44

Archive Download this file



interactive