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 <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao 2020-03-20 16:15:47 +08:00 committed by Masayuki Ishikawa
parent 47c0df6ae6
commit b27d694de4

View File

@ -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