2003/09/06 22:24:41
[org.ibex.core.git] / upstream / Makefile
index c6e03cf..0c76cc3 100644 (file)
@@ -92,3 +92,13 @@ $(packages:%=%/build-$(target)/.installed): %/build-$(target)/.installed:
        @cd $(patsubst %/build-$(target)/.installed,%,$@)/build-$(target); $(setcc) PATH=$$PATH:`pwd`/../../install/bin make install
        @touch $(patsubst %/build-$(target)/.installed,%,$@)/build-$(target)/.installed
 
+
+.freetype:
+       @echo -e "\ndownloading freetype..."
+       @curl $(url_freetype-2.1.4) | tar xzf -
+       @touch $@
+
+.freetype-mips: .freetype
+       @cd freetype-2.1.4; make setup ansi; PATH=$$PATH:`pwd`/../install/bin make CC=mips-gcc AR=mips-ar
+       @PATH=$$PATH:`pwd`/../install/bin; mips-ranlib freetype-2.1.4/objs/libfreetype.a
+       @touch $@