mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 04:23:39 +01:00
add a :noclean configuration to leave the build folder
This commit is contained in:
parent
85f87acb15
commit
0217f5399d
3 changed files with 10 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
|||
*
|
||||
!giteapc.make
|
||||
!giteapc-config-any.make
|
||||
!giteapc-config-noclean.make
|
||||
!configure.sh
|
||||
!build.sh
|
||||
!install.sh
|
||||
|
|
4
giteapc-config-noclean.make
Normal file
4
giteapc-config-noclean.make
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Don't clean build folder after a build
|
||||
NO_CLEAN=1
|
||||
|
||||
export NO_CLEAN
|
|
@ -25,6 +25,8 @@ for x in bin/*; do
|
|||
done
|
||||
|
||||
# Cleanup build files
|
||||
if [[ -z $NO_CLEAN ]]; then
|
||||
echo "$TAG Cleaning up build files..."
|
||||
rm -rf gcc-*/ gcc-*.tar.*
|
||||
rm -rf build/
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue