mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
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:
parent
9e63080b4b
commit
0e1fc1a280
1 changed files with 6 additions and 0 deletions
|
@ -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}/." || \
|
||||
|
|
Loading…
Reference in a new issue