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