MODLIB_SYSTEM_SYMTAB: Rename the generated file

To avoid conflict with ./libs/libc/modlib/modlib_symtab.c
This commit is contained in:
YAMAMOTO Takashi 2020-04-04 00:49:08 +09:00 committed by patacongo
parent 15242a65b6
commit a62aa84448
1 changed files with 2 additions and 2 deletions

View File

@ -124,12 +124,12 @@ endif
ifeq ($(CONFIG_MODLIB_SYSTEM_SYMTAB),y)
modlib_symtab.c : $(CSVFILES) $(MKSYMTAB)
modlib_sys_symtab.c : $(CSVFILES) $(MKSYMTAB)
$(Q) cat $(CSVFILES) | LC_ALL=C sort >$@.csv
$(Q) $(MKSYMTAB) $@.csv $@ $(CONFIG_MODLIB_SYMTAB_ARRAY) $(CONFIG_MODLIB_NSYMBOLS_VAR)
$(Q) rm -f $@.csv
CSRCS += modlib_symtab.c
CSRCS += modlib_sys_symtab.c
endif