mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-25 21:49:42 +02:00
28e7f25585
- Makefile (DIRS): added atrf-xtal - atrf-xtal/Makefile: build atrf-xtal for the Ben or do nothing elsewhere - atrf-xtal/atrf-xtal.h, atrf-xtal/atrf-xtal.c: diagnostic utility to determine the transceiver's crystal frequency - atrf-xtal/atben.c: dirty low-level driver for ATBEN
31 lines
670 B
Makefile
31 lines
670 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.
|
|
#
|
|
|
|
|
|
DIRS=atrf-id atrf-reset atrf-rssi atrf-trim atrf-txrx \
|
|
atrf-xtal
|
|
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 $(DIRS); do echo $$n/$$n; done` $(HOST):
|