1include $(COMPONENT_PATH)/Makefile.files 2 3COMPONENT_OWNBUILDTARGET := 1 4COMPONENT_OWNCLEANTARGET := 1 5 6COMPONENT_ADD_INCLUDEDIRS := $(INCLUDE_DIRS) 7 8.PHONY: build 9build: $(SDKCONFIG_HEADER) 10 $(MAKE) -C $(COMPONENT_PATH) lib SDKCONFIG=$(SDKCONFIG_HEADER) BUILD_DIR=$(COMPONENT_BUILD_DIR) COMPONENT=$(COMPONENT_NAME) 11 12CLEAN_FILES := component_project_vars.mk 13.PHONY: clean 14clean: 15 $(summary) RM $(CLEAN_FILES) 16 rm -f $(CLEAN_FILES) 17 $(MAKE) -C $(COMPONENT_PATH) clean SDKCONFIG=$(SDKCONFIG_HEADER) BUILD_DIR=$(COMPONENT_BUILD_DIR) COMPONENT=$(COMPONENT_NAME) 18