From 65b697de89e123071ba08ce4deab727e86b2db90 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 10 Jun 2019 11:37:21 +0100 Subject: [PATCH] +Sming Component, use COMPONENT_PATH not SMING_HOME --- Sming/component.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sming/component.mk b/Sming/component.mk index f69224941d..06a0d0e91c 100644 --- a/Sming/component.mk +++ b/Sming/component.mk @@ -9,9 +9,9 @@ define ScanModuleDirs endef SMING_SRCDIRS := $(ARCH_CORE) $(ARCH_SYS) $(ARCH_BASE)/Platform \ - $(addprefix $(SMING_HOME)/,Platform Core System Wiring Services/HexDump Services/Yeelight) + $(addprefix $(COMPONENT_PATH)/,Platform Core System Wiring Services/HexDump Services/Yeelight) COMPONENT_SRCDIRS := $(foreach d,$(SMING_SRCDIRS),$(call ScanModuleDirs,$d)) -COMPONENT_SRCDIRS := $(patsubst $(SMING_HOME)/%,%,$(COMPONENT_SRCDIRS:/=)) +COMPONENT_SRCDIRS := $(patsubst $(COMPONENT_PATH)/%,%,$(COMPONENT_SRCDIRS:/=)) COMPONENT_INCDIRS := $(ARCH_BASE) $(ARCH_CORE) $(ARCH_SYS)/include $(ARCH_COMPONENTS) \ Components System/include Wiring Core .