I'm starting to merge my source tree into the mainline. Ultimately this will include support for Intel's E7501 Xeon development kit, including the ICH3-S southbridge and the SMSC LPC47B272 Super I/O chips. Where my changes touch existing code, I'm sending out patches for review first.
Constructive comments welcomed!
One point about cygwin (cross-)compilation, for the record: both cmos.options and util/newconfig/config.g must be in UNIX (\n) format. The build fails if they are in DOS (\r\n) format. If you download the source with something like TortoiseSVN, text files arrive in DOS format and these particular files need to be run through dos2unix.
--Steve
PATCH:
Modifications for building LinuxBIOS under cygwin. Remove unnecessary #include that prevents build_opt_tbl from cross-compiling with gcc 3.4.3. Add wildcards to 'clean' rules so executables ending in .exe get deleted. Added nrv2b to the list of files that are cleaned.
--- util/options/build_opt_tbl.c.orig 2005-09-08 13:36:06.156250000 -0500 +++ util/options/build_opt_tbl.c 2005-09-08 14:17:28.875000000 -0500 @@ -1,6 +1,5 @@ #include <stdio.h> #include <stdlib.h> -#include <sys/io.h> #include <string.h> #include <ctype.h> #include <errno.h> --- src/config/Config.lb.orig 2005-09-08 14:41:03.953125000 -0500 +++ src/config/Config.lb 2005-09-08 14:36:47.734375000 -0500 @@ -153,9 +153,9 @@ action "rm -f linuxbios" action "rm -f ldscript.ld" action "rm -f a.out *.s *.l *.o *.E *.inc" - action "rm -f TAGS tags romcc" - action "rm -f docipl buildrom chips.c *chip.c linuxbios_ram* linuxbios_pay*" - action "rm -f build_opt_tbl option_table.c crt0.S" + action "rm -f TAGS tags romcc*" + action "rm -f docipl buildrom* chips.c *chip.c linuxbios_ram* linuxbios_pay*" + action "rm -f build_opt_tbl* nrv2b* option_table.c crt0.S" end
# do standard config files that the user need not specify