mirror of
https://github.com/pret/agbcc.git
synced 2026-08-27 04:54:06 -05:00
make clean is broken
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,6 +19,7 @@ old_agbcc
|
||||
*/genpeep
|
||||
*/genrecog
|
||||
*/config.log
|
||||
gcc_arm/auto-host.h
|
||||
gcc_arm/config.cache
|
||||
gcc_arm/config.log
|
||||
gcc_arm/config.status
|
||||
|
||||
17
build.sh
17
build.sh
@@ -3,16 +3,15 @@ set -e
|
||||
CCOPT=
|
||||
CXXOPT=
|
||||
|
||||
if [ ! -z "$CC" ]; then CCOPT=CC=$CC; fi
|
||||
if [ ! -z "$CXX" ]; then CXXOPT=CXX=$CXX; fi
|
||||
make -C gcc clean
|
||||
make -C gcc old $CCOPT $CXXOPT
|
||||
mv gcc/old_agbcc .
|
||||
make -C gcc clean
|
||||
make -C gcc $CCOPT $CXXOPT
|
||||
mv gcc/agbcc .
|
||||
#if [ ! -z "$CC" ]; then CCOPT=CC=$CC; fi
|
||||
#if [ ! -z "$CXX" ]; then CXXOPT=CXX=$CXX; fi
|
||||
#make -C gcc clean
|
||||
#make -C gcc old $CCOPT $CXXOPT
|
||||
#mv gcc/old_agbcc .
|
||||
#make -C gcc clean
|
||||
#make -C gcc $CCOPT $CXXOPT
|
||||
#mv gcc/agbcc .
|
||||
# not sure if the ARM compiler is the old one or the new one (-DOLD_COMPILER)
|
||||
[ ! -e gcc_arm/Makefile ] || make -C gcc_arm clean
|
||||
rm -f gcc_arm/config.status gcc_arm/config.cache
|
||||
cd gcc_arm && ./configure --target=arm-elf --host=i386-linux-gnu && make cc1 && cd ..
|
||||
mv gcc_arm/cc1 agbcc_arm
|
||||
|
||||
@@ -763,7 +763,7 @@ cstamp-h: config.in config.status
|
||||
config.status: configure version.c
|
||||
@if [ ! -f config.status ] ; then \
|
||||
echo You must configure gcc. Look at the INSTALL file for details.; \
|
||||
true; \
|
||||
false; \
|
||||
else \
|
||||
LANGUAGES="$(CONFIG_LANGUAGES)" $(SHELL) config.status --recheck; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user