tools/mkexport.sh: Save the System.map file in the export package so that it can be used to extract addresses.

This commit is contained in:
Gregory Nutt 2018-07-08 12:18:05 -06:00
parent 9e63080b4b
commit 0e1fc1a280

View file

@ -235,6 +235,12 @@ else
echo "ARCHCXXFLAGS = ${ARCHCXXFLAGS}" >>"${EXPORTDIR}/build/Make.defs"
fi
# Copy the system map file
if [ -r ${TOPDIR}/System.map ]; then
cp -a "${TOPDIR}/System.map" "${EXPORTDIR}/."
fi
# Copy the NuttX include directory (retaining attributes and following symbolic links)
cp -LR -p "${TOPDIR}/include" "${EXPORTDIR}/." || \