aboutsummaryrefslogtreecommitdiffstats
path: root/sub/syslinux/syslinux-extraflags.patch
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-05-04 00:10:26 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-05-04 00:10:26 +0000
commit7bb2006007c1996f33758e41db070252d4d3607f (patch)
tree3dc03d4f6a8867742961a3dea9ecc96c52d00a10 /sub/syslinux/syslinux-extraflags.patch
parent1202c964c4e91083a3c60b41b9c11e220bfa759d (diff)
downloadlh-bootstrap-7bb2006007c1996f33758e41db070252d4d3607f.tar.gz
Make a lean and mean version, as a basis for filling an initramfs
Diffstat (limited to 'sub/syslinux/syslinux-extraflags.patch')
-rw-r--r--sub/syslinux/syslinux-extraflags.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/sub/syslinux/syslinux-extraflags.patch b/sub/syslinux/syslinux-extraflags.patch
deleted file mode 100644
index df64345..0000000
--- a/sub/syslinux/syslinux-extraflags.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- src.tmp/core/Makefile
-+++ src/core/Makefile
-@@ -26,7 +26,7 @@
-
- OPTFLAGS =
- INCLUDES = -I$(SRC)/include -I$(com32)/include -I$(com32)/include/sys -I$(com32)/lib \
-- -I$(SRC)/lwip/src/include -I$(SRC)/lwip/src/include/ipv4 -I$(SRC)/fs/pxe
-+ -I$(SRC)/lwip/src/include -I$(SRC)/lwip/src/include/ipv4 -I$(SRC)/fs/pxe $(EXTRA_CFLAGS)
-
- # This is very similar to cp437; technically it's for Norway and Denmark,
- # but it's unlikely the characters that are different will be used in
---- src.tmp/extlinux/Makefile
-+++ src/extlinux/Makefile
-@@ -17,10 +17,10 @@
- include $(MAKEDIR)/syslinux.mk
-
- OPTFLAGS = -g -Os
--INCLUDES = -I$(SRC) -I$(objdir) -I$(SRC)/../libinstaller
-+INCLUDES = -I$(SRC) -I$(objdir) -I$(SRC)/../libinstaller $(EXTRA_CFLAGS)
- CFLAGS = $(GCCWARN) -Wno-sign-compare -D_FILE_OFFSET_BITS=64 \
- $(OPTFLAGS) $(INCLUDES)
--LDFLAGS =
-+LDFLAGS = $(EXTRA_LDFLAGS)
-
- SRCS = main.c \
- mountinfo.c \
---- src.tmp/utils/Makefile
-+++ src/utils/Makefile
-@@ -17,8 +17,8 @@
- VPATH = $(SRC)
- include $(MAKEDIR)/syslinux.mk
-
--CFLAGS = $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I$(SRC)
--LDFLAGS = -O2
-+CFLAGS = $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I$(SRC) $(EXTRA_CFLAGS)
-+LDFLAGS = -O2 $(EXTRA_LDFLAGS)
-
- C_TARGETS = isohybrid gethostip memdiskfind
- SCRIPT_TARGETS = mkdiskimage