summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcamthesaxman <camthesaxman@users.noreply.github.com>2020-01-30 02:06:21 -0600
committercamthesaxman <camthesaxman@users.noreply.github.com>2020-01-30 02:06:21 -0600
commit4f87fae05b87cefd4f8fc0b2b18e639b0fad25fc (patch)
treec5f875abe6a0b39ead7b6b60b9139e1c0811129f
parentd8bdbc027f5ef265669feb49270c6c8c32c7cfe2 (diff)
make clean is broken
-rw-r--r--.gitignore1
-rwxr-xr-xbuild.sh17
-rwxr-xr-xgcc_arm/Makefile.in2
3 files changed, 10 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index b1248f5..18dd698 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/build.sh b/build.sh
index 53c99a6..e4922c2 100755
--- a/build.sh
+++ b/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
diff --git a/gcc_arm/Makefile.in b/gcc_arm/Makefile.in
index 51d7fdb..e180a12 100755
--- a/gcc_arm/Makefile.in
+++ b/gcc_arm/Makefile.in
@@ -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