picks 10_${host_kernel} script

This commit is contained in:
BVK Chaitanya 2010-08-21 21:03:26 +05:30
parent 354128c8af
commit 5815f2c19a
2 changed files with 25 additions and 6 deletions

View file

@ -203,12 +203,11 @@ program = {
name = grub-mkdevicemap; name = grub-mkdevicemap;
installdir = sbin; installdir = sbin;
mansection = 8; mansection = 8;
nosparc64 = util/grub-mkdevicemap.c;
nosparc64 = util/deviceiter.c; common = util/grub-mkdevicemap.c;
common = util/deviceiter.c;
nosparc64 = util/devicemap.c; nosparc64 = util/devicemap.c;
sparc64_ieee1275 = util/grub-mkdevicemap.c;
sparc64_ieee1275 = util/deviceiter.c;
sparc64_ieee1275 = util/ieee1275/ofpath.c; sparc64_ieee1275 = util/ieee1275/ofpath.c;
sparc64_ieee1275 = util/ieee1275/devicemap.c; sparc64_ieee1275 = util/ieee1275/devicemap.c;
@ -267,24 +266,39 @@ script = {
installdir = grubconf; installdir = grubconf;
}; };
/*
script = { script = {
name = '10_windows'; name = '10_windows';
common = util/grub.d/10_windows.in; common = util/grub.d/10_windows.in;
installdir = grubconf; installdir = grubconf;
condition = COND_host_windows;
}; };
script = { script = {
name = '10_hurd'; name = '10_hurd';
common = util/grub.d/10_hurd.in; common = util/grub.d/10_hurd.in;
installdir = grubconf; installdir = grubconf;
condition = COND_host_hurd;
};
script = {
name = '10_kfreebsd.in';
common = util/grub.d/10_kfreebsd.in;
installdir = grubconf;
condition = COND_host_kfreebsd;
};
script = {
name = '10_netbsd.in';
common = util/grub.d/10_netbsd.in;
installdir = grubconf;
condition = COND_host_netbsd;
}; };
*/
script = { script = {
name = '10_linux'; name = '10_linux';
common = util/grub.d/10_linux.in; common = util/grub.d/10_linux.in;
installdir = grubconf; installdir = grubconf;
condition = COND_host_linux;
}; };
script = { script = {

View file

@ -873,6 +873,11 @@ AM_CONDITIONAL([COND_mips_yeeloong], [test x$target_cpu = xmips -a x$platform =
AM_CONDITIONAL([COND_mips_qemu_mips], [test x$target_cpu = xmips -a x$platform = xqemu_mips]) AM_CONDITIONAL([COND_mips_qemu_mips], [test x$target_cpu = xmips -a x$platform = xqemu_mips])
AM_CONDITIONAL([COND_sparc64_ieee1275], [test x$target_cpu = xsparc64 -a x$platform = xieee1275]) AM_CONDITIONAL([COND_sparc64_ieee1275], [test x$target_cpu = xsparc64 -a x$platform = xieee1275])
AM_CONDITIONAL([COND_powerpc_ieee1275], [test x$target_cpu = xpowerpc -a x$platform = xieee1275]) AM_CONDITIONAL([COND_powerpc_ieee1275], [test x$target_cpu = xpowerpc -a x$platform = xieee1275])
AM_CONDITIONAL([COND_host_hurd], [test x$host_kernel = xhurd])
AM_CONDITIONAL([COND_host_linux], [test x$host_kernel = xlinux])
AM_CONDITIONAL([COND_host_netbsd], [test x$host_kernel = xnetbsd])
AM_CONDITIONAL([COND_host_windows], [test x$host_kernel = xwindows])
AM_CONDITIONAL([COND_host_kfreebsd], [test x$host_kernel = xkfreebsd])
AM_CONDITIONAL([COND_MAN_PAGES], [test x$cross_compiling = xno -a x$HELP2MAN != x]) AM_CONDITIONAL([COND_MAN_PAGES], [test x$cross_compiling = xno -a x$HELP2MAN != x])
AM_CONDITIONAL([COND_GRUB_EMU_USB], [test x$enable_grub_emu_usb = xyes]) AM_CONDITIONAL([COND_GRUB_EMU_USB], [test x$enable_grub_emu_usb = xyes])