Skip to content

Commit

Permalink
Add more tools to build info
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter authored Jun 17, 2024
1 parent 45e83a7 commit 24a661e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/001-binutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,10 @@ make --quiet -j $PROC_NR clean
make --quiet -j $PROC_NR all
make --quiet -j $PROC_NR install-strip
make --quiet -j $PROC_NR clean

## Store build information
BUILD_FILE="${PSPDEV}/build.txt"
if [[ -f "${BUILD_FILE}" ]]; then
sed -i'' '/^binutils /d' "${BUILD_FILE}"
fi
git log -1 --format="binutils %H %cs %s" >> "${BUILD_FILE}"
7 changes: 7 additions & 0 deletions scripts/003-newlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ make --quiet -j $PROC_NR clean
make --quiet -j $PROC_NR all
make --quiet -j $PROC_NR install-strip
make --quiet -j $PROC_NR clean

## Store build information
BUILD_FILE="${PSPDEV}/build.txt"
if [[ -f "${BUILD_FILE}" ]]; then
sed -i'' '/^newlib /d' "${BUILD_FILE}"
fi
git log -1 --format="newlib %H %cs %s" >> "${BUILD_FILE}"
7 changes: 7 additions & 0 deletions scripts/004-pthread-embedded.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ make --quiet -j $PROC_NR clean
make --quiet -j $PROC_NR all
make --quiet -j $PROC_NR install
make --quiet -j $PROC_NR clean

## Store build information
BUILD_FILE="${PSPDEV}/build.txt"
if [[ -f "${BUILD_FILE}" ]]; then
sed -i'' '/^pthread-embedded /d' "${BUILD_FILE}"
fi
git log -1 --format="pthread-embedded %H %cs %s" >> "${BUILD_FILE}"
7 changes: 7 additions & 0 deletions scripts/005-gcc-stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,10 @@ make --quiet -j $PROC_NR clean
make --quiet -j $PROC_NR all
make --quiet -j $PROC_NR install-strip
make --quiet -j $PROC_NR clean

## Store build information
BUILD_FILE="${PSPDEV}/build.txt"
if [[ -f "${BUILD_FILE}" ]]; then
sed -i'' '/^gcc /d' "${BUILD_FILE}"
fi
git log -1 --format="gcc %H %cs %s" >> "${BUILD_FILE}"

0 comments on commit 24a661e

Please sign in to comment.