summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2015-11-10 22:14:30 -0200
committerPaulo Alcantara <pcacjr@zytor.com>2015-11-10 22:14:30 -0200
commit82aac76005b7b19f48b42cbcb192dab6d17b6b05 (patch)
treef2eaedc76b8587d30889b03b0f3a5d4d913b67e0 /linux
parentb8251024ac0635ec025886f71f3e065886c9cef4 (diff)
downloadsyslinux-82aac76005b7b19f48b42cbcb192dab6d17b6b05.tar.gz
libinstaller: introduce syslxrw library
Due to size constraints on DOS systems, do not include whole syslxcom into DOS-based installer for using xpread() and xpwrite() functions, instead make them part of another separate library and include it only. Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/Makefile1
-rwxr-xr-xlinux/syslinux.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 11667e1d..5a49d813 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -23,6 +23,7 @@ LDFLAGS =
SRCS = syslinux.c \
../libinstaller/syslxopt.c \
+ ../libinstaller/syslxrw.c \
../libinstaller/syslxcom.c \
../libinstaller/setadv.c \
../libinstaller/advio.c \
diff --git a/linux/syslinux.c b/linux/syslinux.c
index 912de71f..46d5624c 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -68,6 +68,7 @@
#include <getopt.h>
#include <sysexits.h>
+#include "syslxrw.h"
#include "syslxcom.h"
#include "syslxfs.h"
#include "setadv.h"