1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

tools/: renamed OpenWRT target from "ben" to "ben_openwrt" and added "ben_jlime"

- tools/Makefile (upload): make destinastion host name ("ben" or "jlime")
  depend on TARGET
- tools/Makefile.common (CC_ben, CFLAGS_ben, LDLIBS_ben, MACROS_ben):
  renamed to *_openwrt and added *_jlime equivalents
- tools/atrf-rssi/Makefile: added settings to use SDL_gfx on Jlime
- tools/lib/Makefile (OBJS_ben): renamed to OBJS_ben_openwrt and added
  OBJS_ben_jlime
This commit is contained in:
Werner Almesberger
2011-01-09 18:54:49 -03:00
parent 4d2395e23c
commit 45e55fe2f1
4 changed files with 36 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
#
# tools/Makefile - Build the ATRF-specific tools
#
# Written 2010 by Werner Almesberger
# Copyright 2010 Werner Almesberger
# 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
@@ -14,9 +14,16 @@
DIRS=atrf-id atrf-reset atrf-rssi atrf-trim atrf-txrx
TARGET_ONLY_DIRS=lib
ifeq ($(TARGET),ben_jlime)
HOST = jlime
else
HOST = ben
endif
include ../Makefile.recurse
.PHONY: upload
upload:
scp `for n in $(DIRS); do echo $$n/$$n; done` ben:
scp `for n in $(DIRS); do echo $$n/$$n; done` $(HOST):