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 1fb05c221dcff657e49cc766e8ff7baa1d3434fc created 13 years 2 months ago. By Werner Almesberger, misctxrx.c (wait_for_interrupt): let "ignore" control printing more tightly | |
---|---|
1 | # |
2 | # tools/Makefile.common - Common items in ATRF tool makefiles |
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 | 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_jlime = mipsel-linux-gcc |
25 | CC_ben_openwrt = mipsel-openwrt-linux-gcc |
26 | |
27 | CFLAGS_host = |
28 | CFLAGS_ben_jlime = |
29 | CFLAGS_ben_openwrt = |
30 | |
31 | LDLIBS_host = -lusb |
32 | LDLIBS_ben_jlime = |
33 | LDLIBS_ben_openwrt = |
34 | |
35 | MACROS_host = -DHAVE_USB |
36 | MACROS_ben_jlime = -DHAVE_BEN |
37 | MACROS_ben_openwrt = -DHAVE_BEN |
38 | |
39 | CC_normal := $(CC_$(TARGET)) |
40 | AR_normal := $(AR) |
41 | CC_quiet = @echo " CC " $@ && $(CC_normal) |
42 | AR_quiet = @echo " AR " $@ && $(AR_normal) |
43 | |
44 | ifeq ($(V),1) |
45 | CC = $(CC_normal) |
46 | AR = $(AR_normal) |
47 | else |
48 | CC = $(CC_quiet) |
49 | AR = $(AR_quiet) |
50 | endif |
51 | |
52 | CFLAGS += $(CFLAGS_$(TARGET)) -I../../atusb/fw/include -I../include \ |
53 | $(MACROS_$(TARGET)) |
54 | LDLIBS = $(LDLIBS_$(TARGET)) -L../lib -latrf |
55 | OBJS += $(OBJS_$(TARGET)) |
56 |