Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
0f0cc93f
Commit
0f0cc93f
authored
Nov 17, 2016
by
Johny Mattsson
Browse files
Fix module inclusion (got broken by IDF build changes).
parent
2b454abf
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/modules/component.mk
View file @
0f0cc93f
...
...
@@ -6,7 +6,7 @@
-include
$(PROJECT_PATH)/build/include/config/auto.conf
include
$(PROJECT_PATH)/components/modules/uppercase.mk
MODULE_NAMES
:=
$(
call
uppercase,
$(
subst
.c,,
$(
wildcard
*
.c
)))
MODULE_NAMES
:=
$(
call
uppercase,
$(
pat
subst
$(COMPONENT_PATH)
/%
.c,
%
,
$(
wildcard
$(COMPONENT_PATH)
/
*
.c
)))
FORCE_LINK
:=
$(
foreach
mod,
$(MODULE_NAMES)
,
$(
if
$
(
CONFIG_LUA_MODULE_
$(mod)
)
,
-u
$(mod)
_module_selected1
))
COMPONENT_ADD_LDFLAGS
=
$(FORCE_LINK)
-lmodules
$(
if
$(CONFIG_LUA_MODULE_BTHCI)
,-lbtdm_app
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment