Fix grub-setup on sparc compilation

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-04-09 23:16:08 +02:00
parent 787928e31e
commit e2d15128a5
2 changed files with 6 additions and 7 deletions

View file

@ -51,7 +51,7 @@ grub_mkimage_SOURCES = util/grub-mkrawimage.c util/misc.c \
util/sparc64/ieee1275/grub-setup.c_DEPENDENCIES = grub_setup_init.h util/sparc64/ieee1275/grub-setup.c_DEPENDENCIES = grub_setup_init.h
grub_setup_SOURCES = util/sparc64/ieee1275/grub-setup.c util/hostdisk.c \ grub_setup_SOURCES = util/sparc64/ieee1275/grub-setup.c util/hostdisk.c \
util/misc.c util/getroot.c kern/device.c kern/disk.c \ util/misc.c util/getroot.c kern/device.c kern/disk.c \
kern/err.c kern/misc.c kern/parser.c kern/partition.c \ kern/err.c kern/misc.c kern/partition.c \
kern/file.c kern/fs.c kern/env.c kern/list.c \ kern/file.c kern/fs.c kern/env.c kern/list.c \
fs/fshelp.c \ fs/fshelp.c \
\ \

View file

@ -83,20 +83,19 @@ struct boot_blocklist
} __attribute__ ((packed)); } __attribute__ ((packed));
void void
grub_putchar (int c) grub_xputs_real (const char *str)
{ {
putchar (c); fputs (str, stdout);
} }
void (*grub_xputs) (const char *str) = grub_xputs_real;
int int
grub_getkey (void) grub_getkey (void)
{ {
return -1; return -1;
} }
struct grub_handler_class grub_term_input_class;
struct grub_handler_class grub_term_output_class;
void void
grub_refresh (void) grub_refresh (void)
{ {