aboutsummaryrefslogtreecommitdiffstats
path: root/mtools
Commit message (Collapse)AuthorAgeFilesLines
* mtools: add MTOOLS_FAT_COMPATIBILITY=1H. Peter Anvin2010-02-131-2/+3
| | | | | | | | It's perfectly legitimate to have a bigger FAT area than is needed, and it is often done for alignment. Tell mtools not to throw a hissy fit over it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: replace -W -Wall with centralized $(GCCWARN)H. Peter Anvin2010-01-101-1/+1
| | | | | | | | | Replace -W -Wall hardcoded into a bunch of Makefiles with $(GCCWARN), a centralized variable defined in the root MCONFIG. Add -Wstrict-prototypes to the list of global warnings: we should never have non-prototyped declarations. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on mtools/syslinux.cH. Peter Anvin2009-05-291-255/+258
| | | | | | | | | Automatically reformat mtools/syslinux.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Unify dependency generationH. Peter Anvin2009-04-271-3/+3
| | | | | | | | | | | | Make the dependency generation more common; have a general pattern in MCONFIG, and use it in rules (not in CFLAGS). For NASM source, in order to stay compatible with old versions of NASM, run NASM twice; newer versions of NASM is capable of generating dependencies simultaneously like gcc can, but that would break compatibility with older distros. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Major Makefile cleanups; gcc 4.3.0 compatiblityH. Peter Anvin2008-08-201-11/+5
| | | | | Cleanup and centralize the Makefile system even more. Fix a gcc 4.3 incompatibility in memdisk (definition of strlen).
* Build _bin.c files in libinstaller; clean up B/I separationH. Peter Anvin2008-06-271-3/+5
| | | | | | | Clean up the BSUBDIR/ISUBDIR separation further. Build _bin.c files, which are an intermediate stage toward building the installers, in the libinstaller directory, since that directory is used by all the installers anyway. That also lets us get bin2c.pl out of the root.
* Move files out of root into core, dos, and utilsH. Peter Anvin2008-05-291-3/+4
| | | | | | | | Move source files out of the root directory; the root is a mess and has become virtually unmaintainable. The Syslinux core now lives in core/; the Linux and generic utilities has moved into utils/, and copybs.com has moved into dos/; it had to go somewhere, and it seemed as good a place as any.
* Assemble via ELF, to enable future linkingH. Peter Anvin2008-05-281-1/+2
| | | | | Assemble all files to ELF instead of using the NASM built-in linker. This can enable us to do actual linking in the future.
* Use $(CC) in gcc_ok macro, not plain gccH. Peter Anvin2008-03-051-1/+1
| | | | | Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the gcc_ok macro is declared with =, not :=
* Merge commit 'origin/master' into advH. Peter Anvin2008-01-101-1/+1
|\ | | | | | | | | | | Conflicts: extlinux/extlinux.c
| * Update copyright yearH. Peter Anvin2008-01-101-1/+1
| |
* | Create libinstaller; actually implement boot-once for extlinuxH. Peter Anvin2007-12-141-2/+2
|/ | | | | | --once now supported for extlinux; some infrastructure for syslinux there as well, need implementation in all the various installers, however.
* RAID mode installer support for SYSLINUXsyslinux-3.50-pre18H. Peter Anvin2007-06-011-4/+9
| | | | Hook up RAID mode in the installers for SYSLINUX
* Don't clobber /dev/null when compiling as rootLuciano Rocha2007-05-251-2/+4
| | | | | | Compiling as root is highly discouraged, but some people do it anyway. gcc_ok, however, can clobber /dev/null due to "-o /dev/null"; this is bad. Instead, write a temporary file and delete it.
* Deal with various distributions breaking gcc in weird waysH. Peter Anvin2007-02-061-1/+7
|
* Mtools installer: disable MTOOLS_NO_VFATH. Peter Anvin2007-02-011-1/+1
|
* mtools FAT installer: support installing ldlinux.sys in a subdirectoryH. Peter Anvin2007-01-231-19/+73
|
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-171-1/+0
|
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-032-8/+5
|
* Fix xpread/xpwrite; call die() when we're dead to make sure we clean uphpa2005-01-041-15/+15
|
* Fix handling of -o offsethpa2004-12-221-8/+8
|
* Beef up the sanity checking of the boot sector. For really better checkinghpa2004-12-191-1/+1
| | | | we should be checking the FAT for the media signature, too.
* Adjust the interface to syslxmod.c so the DOS installer doesn't needhpa2004-12-151-1/+3
| | | | printf().
* Make the CC_IS_OK hack work again.hpa2004-12-151-3/+3
| | | | | Change the private pointer in libfat to an intptr_t; we actually use an integer most of the time so an intptr_t is more convenient.
* More adjustment to the Brave New World<TM>hpa2004-12-151-2/+3
|
* Prepping for new 2.20 version: rewrite main syslinux program to supporthpa2004-12-152-0/+331
FAT32 and EDD, and a new cleaner installer infrastructure.