projects
/
nestedvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
336c419
)
added zlib and expat targets
author
adam
<adam@megacz.com>
Sat, 21 Oct 2006 03:30:45 +0000
(20:30 -0700)
committer
adam
<adam@megacz.com>
Sat, 21 Oct 2006 03:30:45 +0000
(20:30 -0700)
darcs-hash:
20061021033045
-5007d-
912817308b0d331fdc3cebb6242aa64345340a8d
.gz
upstream/Makefile
patch
|
blob
|
history
diff --git
a/upstream/Makefile
b/upstream/Makefile
index
16f92f6
..
fd037e0
100644
(file)
--- a/
upstream/Makefile
+++ b/
upstream/Makefile
@@
-30,6
+30,12
@@
url_openbsdglob = http://www.brianweb.net/xwt/openbsdglob.tar.gz
url_regex = http://arglist.com/regex/regex3.8a.tar.gz
url_linpack = http://www.math.iastate.edu/burkardt/f_src/linpack_bench/linpack_bench.f
url_regex = http://arglist.com/regex/regex3.8a.tar.gz
url_linpack = http://www.math.iastate.edu/burkardt/f_src/linpack_bench/linpack_bench.f
+version_zlib = 1.2.3
+url_zlib = http://www.zlib.net/zlib-$(version_zlib).tar.gz
+
+version_expat = 2.0.0
+url_expat = http://umn.dl.sourceforge.net/sourceforge/expat/expat-$(version_expat).tar.gz
+configure_expat = --host= --target=mips-unknown-elf
version_gmp = 4.1.4
url_gmp = ftp://ftp.gnu.org/gnu/gmp/gmp-$(version_gmp).tar.gz
version_gmp = 4.1.4
url_gmp = ftp://ftp.gnu.org/gnu/gmp/gmp-$(version_gmp).tar.gz
@@
-156,6
+162,14
@@
tasks/build_%: tasks/patch_%
$(MAKE) install
touch $@
$(MAKE) install
touch $@
+tasks/build_zlib: tasks/patch_zlib
+ mkdir -p $(usr)
+ cd build/zlib-$(version_zlib) && \
+ AR="mips-unknown-elf-ar rc" CC=mips-unknown-elf-gcc ./configure --prefix=$(usr) $(configure_$*) && \
+ $(MAKE) TARGET_CFLAGS="$(MIPS_CFLAGS)" && \
+ $(MAKE) install
+ touch $@
+
tasks/build_gcc_step2: tasks/patch_gcc tasks/build_libc
mkdir -p $(usr)
mkdir -p build/gcc-obj && cd build/gcc-obj && \
tasks/build_gcc_step2: tasks/patch_gcc tasks/build_libc
mkdir -p $(usr)
mkdir -p build/gcc-obj && cd build/gcc-obj && \