1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-23 03:27:22 +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 2d961523f2
commit e3066d7a21

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