* conf/Makefile.common (platform_SCRIPTS): New variable.
(platform_PROGRAMS): Likewise. * gentpl.py: Mark *,module and *.image for install. * grub-core/gdb_grub.in: Add a notice of expected environment. * grub-core/Makefile.core.def (gdb_grub): Mark for install. (gmodule.pl): Likewise.
This commit is contained in:
parent
a8f16eab1a
commit
80a7121355
5 changed files with 19 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2012-02-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* conf/Makefile.common (platform_SCRIPTS): New variable.
|
||||||
|
(platform_PROGRAMS): Likewise.
|
||||||
|
* gentpl.py: Mark *,module and *.image for install.
|
||||||
|
* grub-core/gdb_grub.in: Add a notice of expected environment.
|
||||||
|
* grub-core/Makefile.core.def (gdb_grub): Mark for install.
|
||||||
|
(gmodule.pl): Likewise.
|
||||||
|
|
||||||
2012-02-18 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Replace grub_checkkey with grub_getkey_noblock.
|
Replace grub_checkkey with grub_getkey_noblock.
|
||||||
|
|
|
@ -151,6 +151,8 @@ noinst_PROGRAMS =
|
||||||
grubconf_SCRIPTS =
|
grubconf_SCRIPTS =
|
||||||
noinst_LIBRARIES =
|
noinst_LIBRARIES =
|
||||||
dist_noinst_DATA =
|
dist_noinst_DATA =
|
||||||
|
platform_SCRIPTS =
|
||||||
|
platform_PROGRAMS =
|
||||||
|
|
||||||
TESTS =
|
TESTS =
|
||||||
EXTRA_DIST =
|
EXTRA_DIST =
|
||||||
|
|
|
@ -370,7 +370,7 @@ def first_time(snippet):
|
||||||
def module(platform):
|
def module(platform):
|
||||||
r = set_canonical_name_suffix(".module")
|
r = set_canonical_name_suffix(".module")
|
||||||
|
|
||||||
r += gvar_add("noinst_PROGRAMS", "[+ name +].module")
|
r += gvar_add("platform_PROGRAMS", "[+ name +].module")
|
||||||
r += gvar_add("MODULE_FILES", "[+ name +].module$(EXEEXT)")
|
r += gvar_add("MODULE_FILES", "[+ name +].module$(EXEEXT)")
|
||||||
|
|
||||||
r += var_set(cname() + "_SOURCES", platform_sources(platform) + " ## platform sources")
|
r += var_set(cname() + "_SOURCES", platform_sources(platform) + " ## platform sources")
|
||||||
|
@ -398,7 +398,7 @@ def module(platform):
|
||||||
|
|
||||||
def kernel(platform):
|
def kernel(platform):
|
||||||
r = set_canonical_name_suffix(".exec")
|
r = set_canonical_name_suffix(".exec")
|
||||||
r += gvar_add("noinst_PROGRAMS", "[+ name +].exec")
|
r += gvar_add("platform_PROGRAMS", "[+ name +].exec")
|
||||||
r += var_set(cname() + "_SOURCES", platform_startup(platform))
|
r += var_set(cname() + "_SOURCES", platform_startup(platform))
|
||||||
r += var_add(cname() + "_SOURCES", platform_sources(platform))
|
r += var_add(cname() + "_SOURCES", platform_sources(platform))
|
||||||
r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + " ## platform nodist sources")
|
r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + " ## platform nodist sources")
|
||||||
|
@ -423,7 +423,7 @@ def kernel(platform):
|
||||||
|
|
||||||
def image(platform):
|
def image(platform):
|
||||||
r = set_canonical_name_suffix(".image")
|
r = set_canonical_name_suffix(".image")
|
||||||
r += gvar_add("noinst_PROGRAMS", "[+ name +].image")
|
r += gvar_add("platform_PROGRAMS", "[+ name +].image")
|
||||||
r += var_set(cname() + "_SOURCES", platform_sources(platform))
|
r += var_set(cname() + "_SOURCES", platform_sources(platform))
|
||||||
r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + "## platform nodist sources")
|
r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + "## platform nodist sources")
|
||||||
r += var_set(cname() + "_LDADD", platform_ldadd(platform))
|
r += var_set(cname() + "_LDADD", platform_ldadd(platform))
|
||||||
|
|
|
@ -19,13 +19,13 @@ script = {
|
||||||
};
|
};
|
||||||
|
|
||||||
script = {
|
script = {
|
||||||
installdir = noinst;
|
installdir = platform;
|
||||||
name = gmodule.pl;
|
name = gmodule.pl;
|
||||||
common = gmodule.pl.in;
|
common = gmodule.pl.in;
|
||||||
};
|
};
|
||||||
|
|
||||||
script = {
|
script = {
|
||||||
installdir = noinst;
|
installdir = platform;
|
||||||
name = gdb_grub;
|
name = gdb_grub;
|
||||||
common = gdb_grub.in;
|
common = gdb_grub.in;
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
### Load debuging information about GNU GRUB 2 modules into GDB
|
### Load debuging information about GNU GRUB 2 modules into GDB
|
||||||
### automatically. Needs readelf, Perl and gmodule.pl script
|
### automatically. Needs readelf, Perl and gmodule.pl script
|
||||||
###
|
###
|
||||||
|
### Has to be launched from the writable and trusted
|
||||||
|
### directory containing *.image and *.module
|
||||||
|
###
|
||||||
### $Id: .gdbinit,v 1.1 2006/05/14 11:38:08 lkundrak Exp $
|
### $Id: .gdbinit,v 1.1 2006/05/14 11:38:08 lkundrak Exp $
|
||||||
### Lubomir Kundrak <lkudrak@skosi.org>
|
### Lubomir Kundrak <lkudrak@skosi.org>
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue