aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* extlinux: remove duplicate "const char *program;"Gilles Espinasse2009-06-191-2/+0
| | | | Remove redundant declaration.
* Run Nindent on extlinux/main.cH. Peter Anvin2009-05-291-702/+688
| | | | | | | | | Automatically reformat extlinux/main.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>
* Run Nindent on extlinux/ext2_fs.hH. Peter Anvin2009-05-291-176/+165
| | | | | | | | | Automatically reformat extlinux/ext2_fs.h 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-12/+23
| | | | | Cleanup and centralize the Makefile system even more. Fix a gcc 4.3 incompatibility in memdisk (definition of strlen).
* Centralize more of the version number machineryH. Peter Anvin2008-07-071-2/+3
| | | | Centralize more (most) of the version number machinery to version.pl.
* extlinux: fix handling of /etc/mtabsyslinux-3.71-pre3H. Peter Anvin2008-07-021-27/+30
| | | | | | When we didn't find the filesystem in /proc/mounts, we would go through /etc/mtab, but then completely botch the parsing thereof. Move the parsing to a common function to avoid this problem.
* 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/+3
| | | | | | | | 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-282-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.
* Fixed the various Makefiles so that SYSLINUX compiles on platforms with GCC ↵Stefan Bucur2008-05-121-1/+1
| | | | -fstack-protector flag enabled by default.
* 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 :=
* extlinux: compile hack for old distrossyslinux-3.62-pre16H. Peter Anvin2008-02-251-0/+2
| | | | | Some old distros would have <linux/fs.h> poison the namespace with a non-glibc "struct statfs". Hack around it.
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-191-1/+1
|
* extlinux: early check for ext2/ext3-ness of filesystemsyslinux-3.61-pre5H. Peter Anvin2008-01-241-0/+12
| | | | Verify that we have an ext2 or ext3 filesystem early on.
* 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-142-80/+261
|/ | | | | | --once now supported for extlinux; some infrastructure for syslinux there as well, need implementation in all the various installers, however.
* Remove unused set_8() functionH. Peter Anvin2007-06-011-5/+0
| | | | Remove unused set_8() function, to keep gcc quiet.
* RAID mode installer support for extlinuxH. Peter Anvin2007-06-011-12/+30
| | | | Hook up RAID mode in the extlinux installer.
* 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.
* Stealth whitespace cleanup (automated)H. Peter Anvin2007-03-142-14/+14
|
* Deal with various distributions breaking gcc in weird waysH. Peter Anvin2007-02-061-1/+7
|
* extlinux: when compiling against klibc, use atexit() to clean up the devnodeH. Peter Anvin2006-08-241-21/+20
|
* extlinux: when building for klibc, mknod() needs to be a block deviceH. Peter Anvin2006-08-241-1/+1
|
* Print a usage message when we get an invalid optionsyslinux-3.20-pre20H. Peter Anvin2006-08-241-2/+1
|
* Support building extlinux with klibcH. Peter Anvin2006-08-241-4/+37
|
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-171-1/+0
|
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-033-22/+19
|
* Fix uninitialized variableshpa2005-09-221-2/+2
|
* Add update-only mode to extlinux; use ithpa2005-09-221-21/+49
|
* extlinux: fix multiple directory-parsing bugs.syslinux-3.08-pre6hpa2005-04-031-1/+2
|
* Private copy of <linux/ext2_fs.h>syslinux-3.07hpa2005-01-122-1/+509
|
* Total hack to work around machines with broken BLKGETSIZE64 definition.hpa2005-01-051-1/+3
|
* Clean up extlinux compilation issueshpa2005-01-051-9/+10
|
* Allow the user to override the extlinux detected geometry; add online helphpa2005-01-051-12/+106
|
* Add #include <sys/mount.h> just in case that helps with the ioctls...hpa2005-01-051-0/+1
|
* Fix xpread/xpwrite; call die() when we're dead to make sure we clean uphpa2005-01-041-8/+10
|
* Update copyright datesyslinux-3.02-pre1hpa2005-01-041-1/+1
|
* If BLKGETSIZE64 isn't defined, define it.hpa2005-01-041-1/+5
|
* Allow compilation on systems without BLKGETSIZE64hpa2005-01-031-1/+4
|
* Display only heads and sectors, since that's all that matters.hpa2005-01-031-2/+2
|
* HDIO_GETGEO_BIG is deprecated, so stop using it; add a few more fallbackhpa2005-01-021-22/+28
| | | | geometries, including using zipdisk geometry as ultimate fallback.
* Fix handling of -o offsethpa2004-12-221-2/+2
|
* More fixes to the extlinux installer; change back to writable typeshpa2004-12-201-18/+37
| | | | for ulint.h because of stupid constipational warnings.
* Further clean up the ext*fs installerhpa2004-12-202-35/+111
|
* extlinux installer.hpa2004-12-202-0/+587