IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
Source at commit 0a0a50d73d36afb6c40a6d17c2df7a6f9a0fa57a created 13 years 6 months ago. By Werner Almesberger, Performance comparison of atusb vs. atusd. | |
---|---|
1 | # |
2 | # tools/Makefile.common - Common items in ATSPI tool makefiles |
3 | # |
4 | # Written 2010 by Werner Almesberger |
5 | # Copyright 2010 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 | ifeq ($(TARGET),) |
14 | TARGET = host |
15 | endif |
16 | |
17 | F32XBASE = ../../../f32xbase |
18 | |
19 | ifneq ($(MAIN),) |
20 | include $(F32XBASE)/lib/Makefile.common |
21 | endif |
22 | |
23 | CC_host = gcc |
24 | CC_ben = mipsel-openwrt-linux-gcc |
25 | LDLIBS_host = -lusb |
26 | LDLIBS_ben = |
27 | MACROS_host = -DHAVE_USB |
28 | MACROS_ben = -DHAVE_USD |
29 | |
30 | CC_normal := $(CC_$(TARGET)) |
31 | AR_normal := $(AR) |
32 | CC_quiet = @echo " CC " $@ && $(CC_normal) |
33 | AR_quiet = @echo " AR " $@ && $(AR_normal) |
34 | |
35 | ifeq ($(V),1) |
36 | CC = $(CC_normal) |
37 | AR = $(AR_normal) |
38 | else |
39 | CC = $(CC_quiet) |
40 | AR = $(AR_quiet) |
41 | endif |
42 | |
43 | CFLAGS += -I../../atrf/fw/include -I../include $(MACROS_$(TARGET)) |
44 | LDLIBS = $(LDLIBS_$(TARGET)) -L../lib -latspi |
45 |