Displaying 8 results from an estimated 8 matches for "modules_dep".
2011 Apr 01
1
[GIT PULL] elflink core
...dep;
+ }
+
/* Note from feng:
* new modues.dep has line like this:
* a.c32: b.32 c.c32 d.c32
@@ -401,13 +469,21 @@ int module_load_dependencies(const char *name,const char *dep_file)
if (strlen(temp_name)) {
char *argv[2] = { NULL, NULL };
-
- module_load_dependencies(temp_name, MODULES_DEP);
- if (spawn_load(temp_name, argv) < 0)
- continue;
+ int ret;
+
+ ret = module_load_dependencies(temp_name,
+ MODULES_DEP);
+ if (!ret) {
+ if (spawn_load(temp_name, argv) < 0)
+ continue;
+ }
}
}
+ /* Remove our entry from the head of loading_deps */...
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000:
Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700)
are available in the git repository at:
git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux
Matt Fleming (1):
ldlinux: Perform auto-boot if NOESCAPE set in config
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi,
These patches contain support for some features that are already in
Syslinux 4 but weren't working properly on the elflink branch. It's
another step closer to feature parity with Syslinux 4.
Having to jump through the comboot API for localboot support is less
than ideal and I'll eventually fix that, probably when we move a big
chunk of code from asm to C.
Also, there's a
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...(char *)cmd, COMMAND_DELIM);
len_mn = strlen(module_name);
if (!strcmp(module_name + len_mn - 4, ".c32")) {
@@ -397,7 +397,7 @@ void process_command(const char *cmd, bool history)
} while (argc < MAX_COMMAND_ARGS);
argv[argc] = NULL;
module_load_dependencies(module_name, MODULES_DEP);
- spawn_load(module_name, argv);
+ spawn_load(module_name, (const char **)argv);
} else if (!strcmp(module_name + len_mn - 2, ".0")) {
execute(cmd, KT_PXE);
} else if (!strcmp(module_name + len_mn - 3, ".bs")) {
@@ -418,7 +418,6 @@ void process_command(const char *cmd...
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com>
These patches are based on the elflink branch.
This set of patches is my attempt at moving the command-line interface
functionality out of the core and into an ELF module to reduce the
size of the core.
The most interesting patch is [PATCH 4/4] which moves the cli code out
of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...ile 0o755;
+
+ (* Build the cpio file. *)
+ let cmd =
+ sprintf "(cd %s && (echo .; ls -1) | cpio --quiet -o -H newc) > %s"
+ (quote initdir) (quote initrd) in
+ run_command cmd
+
+(* Read modules.dep into internal structure. *)
+and read_module_deps modpath =
+ let modules_dep = modpath // "modules.dep" in
+ let chan = open_in modules_dep in
+ let lines = input_all_lines chan in
+ close_in chan;
+ List.fold_left (
+ fun map line ->
+ let i = String.index line ':' in
+ let modl = String.sub line 0 i in
+ let deps = String.sub lin...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and