1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 14:04:59 +02:00

tools/Makefile (BEN_DIRS): add dirtpan iff its lowpan tools dependency is met

This commit is contained in:
Werner Almesberger 2011-07-01 12:52:04 -03:00
parent ae348fb5cc
commit 71f095d8de

View File

@ -12,7 +12,17 @@
BEN_DIRS=atrf-gpio atrf-id atrf-path atrf-proxy atrf-reset \
atrf-rssi atrf-trim atrf-txrx atrf-xmit atrf-xtal #dirtpan
atrf-rssi atrf-trim atrf-txrx atrf-xmit atrf-xtal
ifneq ($(wildcard ../install/lowpan-tools-0.2.2/include/ieee802154.h),)
DIRTPAN := dirtpan
endif
ifneq ($(wildcard ../install/linux-zigbee/include/ieee802154.h),)
DIRTPAN := dirtpan
endif
BEN_DIRS += $(DIRTPAN)
DIRS=$(BEN_DIRS) usbwait
TARGET_ONLY_DIRS=lib