Displaying 5 results from an estimated 5 matches for "supermin_link".
2017 Aug 23
0
[PATCH v2 supermin 1/1] Switch binary embedding to a C source
...l=.cmo)
XOBJECTS = $(SOURCES_ML:.ml=.cmx)
@@ -132,9 +134,9 @@ OBJECTS = $(XOBJECTS)
BEST = opt
endif
-supermin_DEPENDENCIES = $(OBJECTS) format-ext2-init-bin.o
+supermin_DEPENDENCIES = $(OBJECTS)
-supermin_LDADD = format-ext2-init-bin.o ../lib/libgnu.a
+supermin_LDADD = ../lib/libgnu.a
supermin_LINK = \
./supermin-link.sh \
@@ -148,17 +150,15 @@ supermin_LINK = \
.ml.cmx:
$(OCAMLFIND) ocamlopt $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
-CLEANFILES += format-ext2-init-bin.S
+CLEANFILES += format-ext2-init-bin.h
+BUILT_SOURCES = format-ext2-init-bin.h
-format-ext2-init-bin.o: format-...
2017 Aug 23
2
[PATCH v2 supermin 0/1] Fix embedding of init
Hi,
this patch replaces the first simpler version:
https://www.redhat.com/archives/libguestfs/2017-August/msg00117.html
The approach now is to use a C snippet, which should pose way less
compatibility issues.
Thanks,
Pino Toscano (1):
Switch binary embedding to a C source
.gitignore | 2 +-
src/Makefile.am | 18 +++++++++---------
src/{bin2s.pl => bin2c.pl} |
2016 Dec 07
5
[PATCH 0/3] Miscellaneous improvements to supermin.
Document what each module does, using *.mli files.
Remove the --dtb option, it's obsolete.
Rename modules according to their purpose.
Rich.
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.
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...r
-if HAVE_OCAML_INIFILES
-OCAMLPACKAGES += -package inifiles
-endif
OCAMLFLAGS = -warn-error CDEFLMPSUVXYZ
-supermin: $(OBJECTS)
- $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \
- $^ -o $@
+supermin_DEPENDENCIES = $(OBJECTS) ext2init-bin.o
+
+supermin_LDADD = ext2init-bin.o
+
+supermin_LINK = \
+ $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) \
+ $(OCAMLPACKAGES) -linkpkg \
+ -cclib '$(EXT2FS_LIBS) $(COM_ERR_LIBS)' \
+ -o $@ $(OBJECTS)
.mli.cmi:
$(OCAMLFIND) ocamlc $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
@@ -109,6 +126,24 @@ supermin: $(OBJECTS)
.ml.cmx:
$(OCAMLFIND) o...