Displaying 5 results from an estimated 5 matches for "02d1db5".
2015 Aug 08
2
Compiling extlinux statically
Hi,
I'm trying to build extlinux statically, but no matter what CFLAGS or
OPTFLAGS I set in the Makefiles I get bios/extlinux/extlinux: ELF 64-bit
LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared
libs), for GNU/Linux 2.6.24,
BuildID[sha1]=ef970f59a48b226b2397b73a56e02a73b79c5f0a, not stripped
I have tried adding OPTFLAGS= -static to the extlinux/Makefile as well as
2015 Aug 08
0
Compiling extlinux statically
...59a48b226b2397b73a56e02a73b79c5f0a, not stripped
>
>
> I have tried adding OPTFLAGS= -static to the extlinux/Makefile as well as
> linux/Makefile but I'm obviously missing something.
>
> What flags do I need, and where?
diff --git a/extlinux/Makefile b/extlinux/Makefile
index 02d1db5..aac8208 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -52,7 +52,7 @@ spotless: clean
installer: extlinux
extlinux: $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^ -static
strip:
$(STRIP) extlinux
$ ldd bios/extlinux/extlinux
not a dyna...
2014 Dec 24
0
[PATCH 1/8] extlinux/main.c: support unmounted ext2/3/4 filesystem
...e filesystem.
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
extlinux/Makefile | 2 +-
extlinux/main.c | 96 ++++++++++++++++++++++++++++++++++++++-----------------
2 files changed, 67 insertions(+), 31 deletions(-)
diff --git a/extlinux/Makefile b/extlinux/Makefile
index 02d1db5..f7035c7 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -52,7 +52,7 @@ spotless: clean
installer: extlinux
extlinux: $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^ -lext2fs
strip:
$(STRIP) extlinux
diff --git a/extlinux/main.c b/extlinux/main.c
index 09740bd..91...
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux,
Merry Christmas! These patches will make extlinux work with umounted
ext2/3/4 filesystem, for example:
$ extlinux -i /dev/sdXN
or
$ extlinux -i file_block
Also it can work with something like:
$ extlinux /dev/sdXN --reset-adv
or
$ extlinux file_block --reset-adv
We don't use a new option (I planed to use "-d" but it is already in
use), it will check whether the
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello,
Happy New Year!
These patches make syslinux/linux support ext2/3/4, and it doesn't
require the root privilege, I'd like to add a separate e2fs/syslinux, if
that is more appropriate, it should be easy to do that.
I put these patches on github so that you can easily get them in case
you'd like to test them. (The repo's name is sys_tmp, which avoids
confusing others, I will