tools/mkimport: Add system map to mkimport script.

The `make export` target from the Nuttx repository correctly packs the
System.map file. This change ensure that ./tools/mkimport.sh extracts
this file correctly into the `import`correctly.
This commit is contained in:
Stuart Ianna 2023-06-29 21:47:38 +10:00 committed by Xiang Xiao
parent 44ae5cc14a
commit 3e8f7e33fc

View File

@ -162,7 +162,7 @@ cp -rf ${REGISTERSDIR} ${BUILTINDIR}/. || \
# Move the .config file in place in the import directory
SFILES=".config"
SFILES=".config System.map"
for file in ${SFILES}; do
if [ -f "${EXPORTDIR}/${file}" ]; then
cp -a ${EXPORTDIR}/${file} ${IMPORTDIR}/${file} || \