Extras/DHT improvements: makefile fix, replace DHT_TYPE macro by param (#252)

This commit is contained in:
Ruslan V. Uss 2016-10-26 19:41:08 +06:00 committed by sheinz
parent 574f944fbb
commit 2ab9beb946
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))