summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'mfleming/elflink' into for-hpa/elflink/firmwareMatt Fleming2012-07-301-2/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile com32/elflink/ldlinux/adv.c com32/elflink/ldlinux/kernel.c com32/elflink/ldlinux/ldlinux.c com32/include/bitsize/stddef.h com32/include/bitsize/stdint.h com32/include/stdint.h com32/include/sys/module.h com32/include/sys/x86_64/bitops.h com32/include/syslinux/linux.h com32/lib/Makefile com32/lib/sys/ansicon_write.c com32/lib/sys/module/elfutils.h com32/lib/sys/vesa/efi/fill.h com32/lib/syslinux/load_linux.c com32/lib/syslinux/serial.c com32/lib/syslinux/shuffle.c core/conio.c core/elflink/config.c core/elflink/load_env32.c core/graphics.c core/include/graphics.h core/init.c core/pxelinux.asm mk/elf.mk mk/lib.mk
| * Fix Makefile install targetsMatt Fleming2012-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some Makefiles were still referring to libutil_com.a, even though we stopped producing that file with commit 74518b8b691c ("elflink: Make ELF the default object format"). Delete all references to avoid the following install error, install: cannot stat `libutil_com.a': No such file or directory Remove the install target from com32/elflink as we no longer build any of the test modules, and so don't need to install them. Also, we need to add ldlinux.c32 to the list of modules that *must* be installed for all targets, since it is required for Syslinux to function correctly. Reported-by: Dag Wieers <dag@wieers.com> Reported-by: Michael D. Setzer II <mikes@kuentos.guam.net> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
| * Makefile: fix misplaced dotH. Peter Anvin2012-06-271-1/+1
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Merge remote-tracking branch 'zytor/master' into merge/elflink/masterMatt Fleming2012-05-311-1/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of development has gone on in the 'master' branch since the last time we merged; new features, bug fixes, etc, etc. Conflicts: Makefile com32/Makefile com32/lib/Makefile com32/lib/syslinux/load_linux.c com32/modules/Makefile com32/modules/chain.c core/bootsect.inc core/init.inc version
| | * Merge remote branch 'origin/master' into chaindevMichal Soltys2011-05-101-0/+7
| | |\
| | | * Add "make strip" targetH. Peter Anvin2011-05-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | Merge branch 'master' into chaindevMichal Soltys2011-05-041-1/+2
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/Makefile com32/modules/chain.c Note: add ReactOS' stuff introduced in old chain.c Signed-off-by: Michal Soltys <soltys@ziu.info>
| | * | Merge branch 'master' into chaindevMichal Soltys2011-03-181-6/+8
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: com32/modules/chain.c
| | * | | split chain into chain + iterator, expand iterators' codeMichal Soltys2010-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch: - splits chain into chain and iterator parts and moves them into their own com32/chain directory - extensively updates iterators' code - adjusts chain.c to use new iterators - fixes mbr/sect/hand/file allocation Signed-off-by: Michal Soltys <soltys@ziu.info>
| * | | | Makefile: install library modules, tooH. Peter Anvin2012-05-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need the library modules to be added to MODULES. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | | elflink: Make sure to install ldlinux.c32 at install timeH. Peter Anvin2012-05-181-0/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | We need to reach ldlinux.c32 during early boot... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | The make files have undergone changes to support both i386 and x86_64 platforms.chandramouli narayanan2012-06-251-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pertinent changes are sprinkled through *.mk and Makefile in the syslinux tree. Build architecture is specified at the command line via ARCH macro. This is to enable whether one is building for the native platform or cross-building for a different architecture. Currently, the only supported architectures via ARCH macro are i386 and x86_64. There are some modules (e.g. memdump) that don't build under the EFI environment. To go forward with efi boot support, a separate EFI_BUILD=1 macro has been added and is required to be specified while building. This is a temporary solution for the current build environment. example build: On a x86_64 platform, the following cross-builds syslinux for i386 To build for i386: make EFI_BUILD=1 ARCH=i386 On a x86_64 platform, the following builds syslinux for x86_64 To build natively: make EFI_BUILD=1 Changes specific to GCC and LD options: Architecture specific flags and include/search directories are set up for GCC and LD commands. Internally, GCC options such as stack-boundary, PIC and machine architecture are set up based on ARCH macro. While stack-boundary=2 is fine for i386, it does not work for x86_64 and so it is left to the default value. Using -fPIE with gcc does not work with ld on x86_64, but -fPIC works fine. Similarly, target and elf options are set up for linking as approrpriate for architecture. Assumption about gnu-efi install path: Since the EFI build supports both EFI32 and EFI64, the following assumptions are made with regard to the installed location of gnu-efi on the build platform. 1. gnu-efi-ia32: assumed installed in /usr/local [ EFI-32 include files in /usr/local/include/efi and gnu-efi library in /usr/local/lib/ ] 2. gnu-efi-x86_64: assumed installed in /usr [ EFI-64 include files in /usr/include/efi and gnu-efi library in /usr/lib64/ ] Remanants of the unused old i386-only files, if any, need to be pruned.
* | | | efi: Add UEFI firmware backendMatt Fleming2011-12-161-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds 32-bit support for a Unified Extensible Firmware Interface backend. We use a wrapper program to create an EFI exe with only the minimum number of sections becaues the EFI loader doesn't like certain section sections, such as .gnu.hash, which we require for resolving symbols when ELF modules are loaded. We're currently including a lot more symbols than are necessary in efi/main.c so that the code compiles. Some of them are BIOS specific but I haven't got around to fixing up the core to not reference them directly yet. Signed-off-by: Matt Fleming <matt.fleming@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 remote-tracking branch 'genec/gpxelinux-kpxe-for-hpa'H. Peter Anvin2011-03-171-2/+2
|\ \
| * | Makefile: Add gpxe/gpxelinuxk.0 to INSTALL_AUXGene Cumm2011-03-171-2/+2
| |/
* | Makefile: Add diag/geodsp/ .xz images to install targetGene Cumm2011-03-161-1/+2
| |
* | Merge branch 'master' into diag-mbr-handoff-for-hpaGene Cumm2011-03-161-4/+2
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: diag/mbr/handoff.S diag/mbr/handoff.S: Remove the attempt to zero pad/prevent overflow
| * | Makefile: build the diag directoryH. Peter Anvin2011-03-161-1/+1
| | | | | | | | | | | | | | | | | | Build the diag directory (diagnostic aids). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | mbr: Install isohdpfx*.binH. Peter Anvin2011-03-161-3/+1
| |/ | | | | | | | | | | | | | | GNU xorriso can build isohybrid images in one step without the need for the isohybrid program, but for that to work the isohdpfx*.bin files need to be available. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Add diag/ targets into top Makefile for install targetGene Cumm2011-03-161-0/+3
|/
* win64: experimental Win64 installer (syslinux64.exe)syslinux-4.02H. Peter Anvin2010-07-211-5/+6
| | | | | | | Experimental Win64 installer. This is necessary to be able to run on WinPE64, since WinPE64 doesn't support running 32-bit binaries. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Makefile: add lua.c32 to installablessyslinux-4.01-pre2H. Peter Anvin2010-07-011-1/+1
| | | | | | lua.c32 is an installable file. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge remote branch 'origin/master' into pathbasedH. Peter Anvin2010-02-201-2/+2
|\
| * Makefile: dos/copybs.com now in dosutilH. Peter Anvin2010-02-151-2/+2
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'master' into pathbasedsyslinux-4.00-pre20H. Peter Anvin2010-02-141-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | Resolved Conflicts: com32/Makefile com32/include/syslinux/pxe.h core/pxelinux.asm core/syslinux.ld Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * sysdump: first working version (can dump lowmem over TFTP)H. Peter Anvin2010-02-061-1/+2
| | | | | | | | | | | | | | | | Most of the infrastructure for sysdump, and enough to make it useful. Sysdump will produce a gzipped cpio archive containing individual data members; for now only a memory dump of lowmem. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge commit 'syslinux-3.84'H. Peter Anvin2009-12-221-2/+3
|\ \ | |/ | | | | | | | | | | Resolved Conflicts: Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Makefile: add DOS utilities as installablesH. Peter Anvin2009-12-091-2/+3
| | | | | | | | | | | | | | | | Add the DOS utilities as auxilliary installables In case someone wants them... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'master' into fscH. Peter Anvin2009-12-221-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | Resolved Conflicts: com32/Makefile com32/lib/sys/open.c com32/modules/Makefile dos/Makefile dos/com16.ld dos/syslinux.c version Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * gfxboot.c32syslinux-3.84-pre5Steffen Winterfeldt2009-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Ok, here is the first try to turn the gfxboot wrapper into a com32 module. I had to extend the interface to the gfxboot core a bit to get it working. So it works only with latest gfxboot from git://gitorious.org/gfxboot/gfxboot.git Steffen Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | Makefile: add back the gpxe directoryH. Peter Anvin2009-08-071-1/+1
| | | | | | | | | | | | Add the gpxe directory back into the build. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | printf error fixedLiu Aleaxander2009-06-031-1/+1
| | | | | | | | and removed the itao function as the printf function works well now
* | core: LZO compress the PM part of the coreH. Peter Anvin2009-05-201-1/+1
| | | | | | | | | | | | | | | | Use LZO to compress the PM part of the core. LZO is not the best compression algorithm, but it is very fast, and the decompressor is only 447 bytes long. The LZO code is part of the LZO 2.03 library. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | core: link with libcom32 and libgccH. Peter Anvin2009-05-141-1/+1
|/ | | | | | | Link libcom32 and libgcc into the core. That doesn't mean all the functionality of libcom32 is usable in the core!!! Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: drop references to "make depend"syslinux-3.80-pre3H. Peter Anvin2009-04-281-5/+0
| | | | | | We no longer need "make depend" for anything. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Remove the old mboot modulenew-mbootH. Peter Anvin2009-04-261-2/+2
|
* Makefile: add missing MBR variants to BOBJECTSH. Peter Anvin2009-04-131-1/+3
| | | | Add missing variants to BOBJECTS.
* Makefiles: try to make "make install" do the right thingH. Peter Anvin2009-04-061-2/+2
| | | | | | | | One more attempt at getting semi-sanity to "make install". Realistically, the install/netinstall/install-all/... needs to be pushed into the com32 Makefiles, but this is at least a quick hack. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: install new MBR variants; NEWS: documentsyslinux-3.74-pre17H. Peter Anvin2009-04-041-2/+2
| | | | | | Make the new MBR variants installables, and add to the NEWS file. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: add com32/hdt/*.c32 to list of installablessyslinux-3.74-pre5H. Peter Anvin2009-03-121-3/+3
| | | | | Add com32/hdt/*.c32 to the list of installables, thereby making hdt.c32 an installable.
* Makefile: add isohybrid as an IOBJECTH. Peter Anvin2008-09-081-1/+2
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: add modules to BSUBDIRSSebastian Herbszt2008-08-291-1/+1
| | | | Add modules directory to BSUBDIRS.
* Add pxechain.com; new modules direction; reorganize installationH. Peter Anvin2008-08-271-7/+11
| | | | | | | | | Add the pxechain module from Jeffery Hutzelman at CMU. Create new modules directory for non-com32 modules. Centralize installation, since we have three types of install, and only one of them was distributed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Major Makefile cleanups; gcc 4.3.0 compatiblityH. Peter Anvin2008-08-201-1/+1
| | | | | 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-7/+7
| | | | Centralize more (most) of the version number machinery to version.pl.
* Build _bin.c files in libinstaller; clean up B/I separationH. Peter Anvin2008-06-271-8/+10
| | | | | | | 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.
* Fix "make clean", "make installer"H. Peter Anvin2008-06-271-2/+2
| | | | | | | | | | - "make clean" should not clean up things that "make installer" cannot regenerate. - "make installer" should not descend into subdirectories which are target only, e.g. com32 and sample. The Linux platform stuff in com32 is old and bitrotted, and was only for debugging in the first place. Just ignore it.
* Add support for creating codepage/Unicode mapping tablesH. Peter Anvin2008-06-051-1/+1
| | | | | Add support for creating codepage/Unicode mapping tables; this is a step toward VFAT long filename support.
* Centralize configurables; better "make install" etcH. Peter Anvin2008-05-291-53/+27
| | | | | | | Begin the process of centralizing configurables. Improve "make install" and "make netinstall"; add "make extbootinstall".