Author: stuge Date: 2009-07-06 15:38:22 +0200 (Mon, 06 Jul 2009) New Revision: 99
Modified: trunk/filo/include/debug.h trunk/filo/main/filo.c Log: Fix build when CONFIG_USE_GRUB is unset.
Modified: trunk/filo/include/debug.h =================================================================== --- trunk/filo/include/debug.h 2009-05-24 14:56:59 UTC (rev 98) +++ trunk/filo/include/debug.h 2009-07-06 13:38:22 UTC (rev 99) @@ -39,7 +39,7 @@ # define debug_hexdump(...) /* nothing */ #endif
-#ifdef CONFIG_USE_GRUB +#if CONFIG_USE_GRUB extern int using_grub_interface; void grub_printf (const char *format,...); #define printf(x...) do { if (using_grub_interface) { grub_printf(x); } else { printf(x); } } while (0)
Modified: trunk/filo/main/filo.c =================================================================== --- trunk/filo/main/filo.c 2009-05-24 14:56:59 UTC (rev 98) +++ trunk/filo/main/filo.c 2009-07-06 13:38:22 UTC (rev 99) @@ -37,7 +37,7 @@ #define autoboot() ((void) 0) /* nop */ #endif
-#ifndef CONFIG_AUTOBOOT_DELAY +#if CONFIG_AUTOBOOT_DELAY == 0 #define autoboot_delay() 0 /* success */ #endif