Skip to content

Commit

Permalink
+Sming Component, use COMPONENT_PATH not SMING_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jun 16, 2019
1 parent 8d5ec76 commit 65b697d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sming/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 65b697d

Please sign in to comment.