Skip to content

Commit

Permalink
tools/mkexport.sh: Save the System.map file in the export package so …
Browse files Browse the repository at this point in the history
…that it can be used to extract addresses.
  • Loading branch information
gregory-nutt committed Jul 8, 2018
1 parent 9e63080 commit 0e1fc1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/mkexport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}/." || \
Expand Down

0 comments on commit 0e1fc1a

Please sign in to comment.