Displaying 5 results from an estimated 5 matches for "init_cflags".
2016 Feb 17
8
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
v1 -> v2:
- If we split out the init program into a separate init/ directory,
that makes it much easier to build against an alternate libc.
I tried to build against uClibc, but uClibc requires an entire build
chain, which looked like it was going to be a massive ballache.
Rich.
2016 Feb 17
0
[PATCH supermin v2 1/4] init: Uncompress modules before adding them to the mini initrd.
...compressed kernel modules.
+AC_PATH_PROG(UNXZ,[unxz],[no])
dnl mke2fs.
AC_PATH_PROG([MKE2FS],[mke2fs],[no],
diff --git a/src/Makefile.am b/src/Makefile.am
index 6261c86..5a601fe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -143,7 +143,6 @@ noinst_PROGRAMS = init
init_SOURCES = init.c
init_CFLAGS = -static
init_LDFLAGS = -static
-init_LDADD = $(ZLIB_STATIC_LIBS) $(LZMA_STATIC_LIBS)
CLEANFILES += ext2init-bin.S
diff --git a/src/config.ml.in b/src/config.ml.in
index 42cf833..19545b6 100644
--- a/src/config.ml.in
+++ b/src/config.ml.in
@@ -29,12 +29,14 @@ let dpkg_deb = "@DPKG_DEB@&...
2016 Feb 17
2
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
Allow an alternate libc, such as dietlibc, to be used for the init
binary in the supermin appliance.
Rich.
2013 Aug 19
5
[PATCH v2 0/3 supermin] URPMI & xz support.
Joseph,
Please try my modified versions of these patches. These are
compile-tested on Fedora and they don't break any existing
functionality, but I don't have either urpmi nor a statically-linked
xz so I cannot fully test them.
I have also fixed detection of zlib (2/3).
Rich.
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...ils.c
-supermin_helper_CFLAGS = \
- -Wall $(EXT2FS_CFLAGS) $(COM_ERR_CFLAGS) -I../lib
-supermin_helper_LDADD = \
- ext2init.o $(EXT2FS_LIBS) $(COM_ERR_LIBS) $(ZLIB_LIBS) \
- $(LTLIBINTL) -L../lib -lgnu
-
-# init "script" used by ext2 initrd.
-noinst_PROGRAMS = init
-init_SOURCES = init.c
-init_CFLAGS = -static
-init_LDFLAGS = -static
-init_LDADD = $(ZLIB_STATIC_LIBS) $(LZMA_STATIC_LIBS)
-
-CLEANFILES = ext2init.S
-
-ext2init.o: ext2init.S
- $(CC) -o $@ -c $<
-
-ext2init.S: init
- strip --strip-all $<
- @file $< | grep -isq static || \
- (echo "*** error: init is not staticly lin...