diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-28 18:58:00 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-28 18:58:00 -0700 |
commit | 4ba801edb01acae7281fe09f6225c38390033817 (patch) | |
tree | 6bee72af361b984332a6414297f2c10f4d6016ad /extlinux | |
parent | ff747ef4c75c9e55c9d5c5552126d994c96da245 (diff) | |
download | syslinux-4ba801edb01acae7281fe09f6225c38390033817.tar.gz |
Assemble via ELF, to enable future linking
Assemble all files to ELF instead of using the NASM built-in linker.
This can enable us to do actual linking in the future.
Diffstat (limited to 'extlinux')
-rw-r--r-- | extlinux/Makefile | 3 | ||||
-rw-r--r-- | extlinux/main.c (renamed from extlinux/extlinux.c) | 0 |
2 files changed, 2 insertions, 1 deletions
diff --git a/extlinux/Makefile b/extlinux/Makefile index f4267020..88d4d1a9 100644 --- a/extlinux/Makefile +++ b/extlinux/Makefile @@ -12,7 +12,8 @@ INCLUDES = -I. -I.. -I../libinstaller CFLAGS = -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES) LDFLAGS = $(LDHASH) # -s -SRCS = extlinux.c setadv.c extlinux_bss_bin.c extlinux_sys_bin.c +SRCS = main.c ../libinstaller/setadv.c \ + ../extlinux_bss_bin.c ../extlinux_sys_bin.c OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS))) .SUFFIXES: .c .o .i .s .S diff --git a/extlinux/extlinux.c b/extlinux/main.c index 0edce5a5..0edce5a5 100644 --- a/extlinux/extlinux.c +++ b/extlinux/main.c |