summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-31 20:47:14 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-31 20:47:14 +0000
commitdc3214851bffaaf7b23e422f9f7552b5666708b2 (patch)
tree7584098427a6be74ca79ac062ee3564f09c993f3
parent3f3a5f60d3e2d2470ce3099874f753ae7107b3f2 (diff)
downloadcoreboot-dc3214851bffaaf7b23e422f9f7552b5666708b2.tar.xz
Only remove .xcompile with distclean. Look for crossgcc in util.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4902 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--Makefile4
-rw-r--r--util/xcompile/xcompile2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9c95145765..e683f3949d 100644
--- a/Makefile
+++ b/Makefile
@@ -289,7 +289,7 @@ doxygen-clean:
rm -rf $(DOXYGEN_OUTPUT_DIR)
clean: doxygen-clean
- rm -f $(allobjs) $(obj)/coreboot* .xcompile
+ rm -f $(allobjs) $(obj)/coreboot*
rm -f $(obj)/option_table.* $(obj)/crt0_includes.h $(obj)/ldscript
rm -f $(obj)/mainboard/$(MAINBOARDDIR)/static.c $(obj)/mainboard/$(MAINBOARDDIR)/config.py $(obj)/mainboard/$(MAINBOARDDIR)/static.dot
rm -f $(obj)/mainboard/$(MAINBOARDDIR)/auto.inc $(obj)/mainboard/$(MAINBOARDDIR)/crt0.s $(obj)/mainboard/$(MAINBOARDDIR)/crt0.disasm
@@ -297,7 +297,7 @@ clean: doxygen-clean
$(MAKE) -C util/sconfig clean
distclean: clean
- rm -rf $(obj)
+ rm -rf $(obj) .xcompile
rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig*
update:
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 104909845f..79d4bfe5ad 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -10,7 +10,7 @@ GCCPREFIX=invalid
TMP=`mktemp /tmp/temp.XXXX`
echo "mov %eax, %eax" > ${TMP}.s
printf "\x7fELF" > ${TMP}.compare
-for gccprefixes in `pwd`/../crossgcc/xgcc/bin/i386-elf- i386-elf- ""; do
+for gccprefixes in `pwd`/util/crossgcc/xgcc/bin/i386-elf- i386-elf- ""; do
if which ${gccprefixes}as 2>/dev/null >/dev/null; then
printf ""
else