Extras/DHT improvements: makefile fix, replace DHT_TYPE macro by param

This commit is contained in:
UncleRus 2016-10-24 19:26:06 +05:00
parent 8840eb0411
commit 0443538d5b
5 changed files with 38 additions and 36 deletions

View file

@ -1,10 +1,10 @@
# Component makefile for extras/dht
INC_DIRS += $(ROOT)extras/dht
# include it as 'dht/dht.h'
INC_DIRS += $(dht_ROOT)..
# args for passing into compile rule generation
extras/dht_INC_DIR = $(ROOT)extras/dht
extras/dht_SRC_DIR = $(ROOT)extras/dht
dht_SRC_DIR = $(dht_ROOT)
$(eval $(call component_compile_rules,extras/dht))
$(eval $(call component_compile_rules,dht))