Author: myles Date: 2009-10-31 21:47:14 +0100 (Sat, 31 Oct 2009) New Revision: 4902
Modified: trunk/Makefile trunk/util/xcompile/xcompile Log: 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
Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-10-31 09:09:00 UTC (rev 4901) +++ trunk/Makefile 2009-10-31 20:47:14 UTC (rev 4902) @@ -289,7 +289,7 @@ 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 @@ $(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:
Modified: trunk/util/xcompile/xcompile =================================================================== --- trunk/util/xcompile/xcompile 2009-10-31 09:09:00 UTC (rev 4901) +++ trunk/util/xcompile/xcompile 2009-10-31 20:47:14 UTC (rev 4902) @@ -10,7 +10,7 @@ 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