Root/tools/Makefile

Source at commit 673d29a29a0d0dd32371bc36ddca7711a7eadecb created 8 years 3 months ago.
By Werner Almesberger, tools/Makefile (BEN_DIRS): comment out dirtpan again, to avoid hdr dependency
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 #dirtpan
16DIRS=$(BEN_DIRS) usbwait
17TARGET_ONLY_DIRS=lib
18
19ifeq ($(TARGET),ben_jlime)
20HOST = jlime
21else
22HOST = ben
23endif
24
25
26include ../makefiles/Makefile.recurse
27
28.PHONY: upload
29
30upload:
31        scp `for n in $(BEN_DIRS); do \
32            echo $$n/$$n; done` $(HOST):/usr/bin/
33

Archive Download this file



interactive