support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
This commit is contained in:
17
components/connectivity/iotkit-embedded-3.0.1/3rdparty/tools/parse_make_settings.mk
vendored
Normal file
17
components/connectivity/iotkit-embedded-3.0.1/3rdparty/tools/parse_make_settings.mk
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
include $(CURDIR)/tools/internal_make_funcs.mk
|
||||
|
||||
SWITCH_VARS := \
|
||||
$(shell grep '''config [_A-Z]*''' \
|
||||
$$(find -L $(TOP_DIR)/tools -name 'Config.*') \
|
||||
| cut -d: -f2 \
|
||||
| grep -v menuconfig \
|
||||
| grep -v SRCPATH \
|
||||
| awk '{ print $$NF }' \
|
||||
)
|
||||
SWITCH_VARS := $(foreach V,$(sort $(SWITCH_VARS)),FEATURE_$(V))
|
||||
|
||||
$(foreach v, \
|
||||
$(SWITCH_VARS), \
|
||||
$(if $(filter y,$($(v))), \
|
||||
$(eval CFLAGS += -D$(subst FEATURE_,,$(v)))) \
|
||||
)
|
Reference in New Issue
Block a user