Hello folks,

I created a patch for linuxboot/Makfile that'll include expat in
linuxboot. Maybe someone can use this.


kind regards, stefan schlesinger.

--
Stefan Schlesinger ///////////////////////////////////////////////// //
[EMAIL PROTECTED]
--- Makefile.orig       2005-04-28 17:09:13.818749528 +0200
+++ Makefile    2005-04-28 17:15:28.478792544 +0200
@@ -27,6 +27,7 @@
 samba=samba-3.0.14a
 wireless_tools=wireless_tools.27
 zlib=zlib-1.2.2
+expat=expat-1.95.8
 
 cwd:=$(shell pwd)
 
@@ -34,7 +35,7 @@
        $(dmidecode) $(dosemu) $(e2fsprogs) $(glibc) $(kbd)                 \
        $(linux) $(module-init-tools) $(mysql) $(nano) $(ncurses) $(parted) \
        $(perl) $(perl-ldap) $(pciutils) $(pcmcia-cs) $(pmtools) $(samba)   \
-       $(wireless_tools) $(zlib)
+       $(wireless_tools) $(zlib) $(expat)
 
 CC=gcc
 
@@ -660,6 +661,15 @@
 
 stage1 += stage1/lib/libz.so
 
+## libexpat
+$(expat)/.libs/libexpat.so.0.5.0:
+       cd $(expat)                                             \
+       && ./configure --prefix=/                               \
+       && make                                                 \
+
+$(call copy_lib,$(expat)/.libs/libexpat.so.0.5.0,stage1/lib/libexpat.so)
+
+stage1 += stage1/lib/libexpat.so
 
 ## devices
 devices.cpio: misc/devices.txt
@@ -863,7 +873,8 @@
 $(call download_rule, $(wireless_tools), tar.gz,       \
        http://pcmcia-cs.sourceforge.net/ftp/contrib/)
 $(call download_rule, $(zlib), tar.gz, http://www.zlib.net/)
-
+$(call download_rule, $(expat), tar.gz, \
+       http://http://kent.dl.sourceforge.net/sourceforge/expat/)
 
 symlink_targets=$(addprefix symlink-,$(packages))              \
        symlink-build-$(glibc) symlink-build-$(dosemu)          \

Reply via email to