summaryrefslogtreecommitdiff
path: root/mtools
Commit message (Collapse)AuthorAgeFilesLines
* Add NTFS filesystem support to Linux and Windows installersPaulo Alcantara2011-09-072-3/+4
| | | | Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
* Add "make strip" targetH. Peter Anvin2011-05-091-0/+3
| | | | | | | | Add a "make strip" target, to make doing the official build easier. We want the official build to have stripped binaries for size reasons, so do it right and make it an actual build target. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Remove -s for host binariesH. Peter Anvin2011-05-091-1/+1
| | | | | | | | Remove -s for host binaries; current practice is to let the distro packaging systems do that themselves. For the official binaries, we should probably strip them, but via an external tool. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-071-1/+2
| | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* Merge branch 'master' into libinstaller_dos_wipH. Peter Anvin2010-07-191-9/+35
|\ | | | | | | | | | | | | | | Resolved Conflicts: libinstaller/syslxopt.c mtools/syslinux.c Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * mtools: Use libinstaller option parserShao Miller2010-07-092-60/+29
| | | | | | | | | | | | | | We will produce an error message if a user attempts to use an option we don't implement. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
| * mtools: slightly more obvious definition of tmpdir fallbackH. Peter Anvin2010-07-051-6/+5
| | | | | | | | | | | | | | Make it a bit more obvious what actually happens for the tmpdir fallback. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * mtools: honor TMPDIR, check for errors writing mtools.confH. Peter Anvin2010-07-051-9/+35
| | | | | | | | | | | | | | | | Honor TMPDIR when picking a place to write mtools.conf. Check for errors while writing mtools.conf. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | mtools: Use libinstaller option parserShao Miller2010-07-032-60/+29
|/ | | | | | | We will produce an error message if a user attempts to use an option we don't implement. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* Fix nuisance _FORTIFY_SOURCE failuresH. Peter Anvin2010-07-021-2/+4
| | | | | | | Fix a couple of _FORTIFY_SOURCE failures which are nuisance warnings, but fortunately not too hard to just plain avoid. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mtools: include the size of the ADV in the mappable rangeH. Peter Anvin2010-06-251-1/+2
| | | | | | | We need to include the size of the ADV in the range of data that needs to be mapped. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* mtools: create an empty ADVsyslinux-4.00-pre58H. Peter Anvin2010-06-222-2/+12
| | | | | | Create an install an empty ADV. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge syslinux/extlinux patch code and core codeH. Peter Anvin2010-06-202-1/+2
| | | | | | | | Merge the SYSLINUX and EXTLINUX patching code and core code, removing EXTLINUX as a separate derivative. All the disk-based systems now use the same code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Make syslinux installer real "pathbased"Alek Du2010-06-091-1/+1
| | | | | | | | | | | | | The previous merging extlinux/syslinux patch is not sufficient, the syslinux is not real "patchbased", hence: * fill currentdir in patcharea * search "extlinux.conf" and "syslinux.cfg" for generic_load_config * define boot_image and boot_sector macro for ldsyslinux this could make further merging extlinux and syslinux possible Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge branch 'master' into pathbasedsyslinux-4.00-pre20H. Peter Anvin2010-02-141-2/+3
|\ | | | | | | | | | | | | | | | | | | Resolved Conflicts: com32/Makefile com32/include/syslinux/pxe.h core/pxelinux.asm core/syslinux.ld Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * 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>
* | Merge branch 'master' into fscH. Peter Anvin2010-01-241-1/+1
|\ \ | |/ | | | | | | | | Conflicts: com32/lib/MCONFIG com32/lib/readdir.c
| * 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>
* | Merge branch 'master' into core32H. Peter Anvin2009-05-291-263/+266
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/include/netinet/in.h com32/include/sys/cpu.h dos/argv.c dos/malloc.c dos/syslinux.c extlinux/main.c libinstaller/setadv.c libinstaller/syslinux.h libinstaller/syslxint.h libinstaller/syslxmod.c linux/syslinux.c mtools/syslinux.c win32/syslinux.c 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>
* | Standardize the names SECTOR_SIZE and SECTOR_SHIFTH. Peter Anvin2009-05-191-8/+8
| | | | | | | | | | | | | | Use the names SECTOR_SIZE and SECTOR_SHIFT everywhere, instead of an odd mix of symbols and hard-coded constants. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | FAT: change DOS installer to EXE; additional 32K limit fixesH. Peter Anvin2009-05-191-6/+14
|/ | | | | | | | | | | | | | Additional fixes for the 32K limits in the installers. In the case of the DOS installer, that means changing it from COM format to EXE format (since COM format has a 63K hard limit); retain the name syslinux.com for user compatibility, though (DOS doesn't care what the extension except for pathname search; if it finds an MZ EXE header it will use it.) With the change to EXE means having to handle more than one segment. Since we don't have a real DOS compiler we have to wing it a bit. 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.