aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux
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 /extlinux
parentb8251024ac0635ec025886f71f3e065886c9cef4 (diff)
downloadsyslinux-82aac76005b7b19f48b42cbcb192dab6d17b6b05.tar.gz
syslinux-82aac76005b7b19f48b42cbcb192dab6d17b6b05.tar.xz
syslinux-82aac76005b7b19f48b42cbcb192dab6d17b6b05.zip
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 'extlinux')
-rw-r--r--extlinux/Makefile1
-rw-r--r--extlinux/main.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/extlinux/Makefile b/extlinux/Makefile
index 02d1db51..1721ee54 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -27,6 +27,7 @@ SRCS = main.c \
../libinstaller/syslxmod.c \
../libinstaller/syslxopt.c \
../libinstaller/syslxcom.c \
+ ../libinstaller/syslxrw.c \
../libinstaller/setadv.c \
../libinstaller/advio.c \
../libinstaller/bootsect_bin.c \
diff --git a/extlinux/main.c b/extlinux/main.c
index 6ba16e1e..6871fb15 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -56,6 +56,7 @@
#include "version.h"
#include "syslxint.h"
#include "syslxcom.h" /* common functions shared with extlinux and syslinux */
+#include "syslxrw.h"
#include "syslxfs.h"
#include "setadv.h"
#include "syslxopt.h" /* unified options */