You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2020/03/20 10:14:02 UTC
[incubator-nuttx-apps] branch master updated: example/module:
update SYMTAB_SRC dependency to fix FSROOT not populated
This is an automated email from the ASF dual-hosted git repository.
masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new b27d694 example/module: update SYMTAB_SRC dependency to fix FSROOT not populated
b27d694 is described below
commit b27d694de42fde3331349779636349b8b7d347ef
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Fri Mar 20 16:15:47 2020 +0800
example/module: update SYMTAB_SRC dependency to fix FSROOT not populated
In parallel build, for example maix-bit:module config, it reports:
nm: 'a.out': No such file
This is caused by FSROOT not populated with chardev when symtab.c
generated. So update SYMTAB_SRC dependency to fix it.
Change-Id: I5bb5d17db41f3bba98ae70a2acdd2ec594736611
Signed-off-by: liuhaitao <li...@xiaomi.com>
---
examples/module/drivers/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/module/drivers/Makefile b/examples/module/drivers/Makefile
index bddb359..2166051 100644
--- a/examples/module/drivers/Makefile
+++ b/examples/module/drivers/Makefile
@@ -122,14 +122,14 @@ endif
# Create the exported symbol table
-$(SYMTAB_SRC): build
+$(SYMTAB_SRC): populate
$(Q) $(DRIVER_DIR)/mksymtab.sh $(FSROOT_DIR) >$@
else
# Create the exported symbol table
-$(SYMTAB_SRC): build populate
+$(SYMTAB_SRC): populate
$(Q) $(DRIVER_DIR)/mksymtab.sh $(FSROOT_DIR) >$@
endif