You've already forked m5stack_devkit
mirror of
https://github.com/m5stack/m5stack_devkit.git
synced 2026-05-20 10:16:49 -07:00
24 lines
512 B
Makefile
24 lines
512 B
Makefile
#
|
|
# "main" pseudo-component makefile.
|
|
#
|
|
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
|
|
|
# componet standalone mode
|
|
ifndef CONFIG_IOT_SOLUTION_EMBED
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := ./button/include
|
|
COMPONENT_SRCDIRS := ./button
|
|
|
|
else
|
|
|
|
ifdef CONFIG_IOT_BUTTON_ENABLE
|
|
COMPONENT_ADD_INCLUDEDIRS := ./button/include
|
|
COMPONENT_SRCDIRS := ./button
|
|
else
|
|
# Disable component
|
|
COMPONENT_ADD_INCLUDEDIRS :=
|
|
COMPONENT_ADD_LDFLAGS :=
|
|
COMPONENT_SRCDIRS :=
|
|
endif
|
|
|
|
endif |