mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* conf/Makefile.common (CPPFLAGS_KERNEL): Add -DGRUB_KERNEL=1.
* include/grub/dl.h (GRUB_MOD_INIT), (GRUB_MOD_FINI): Define functions when compiling for kernel.
This commit is contained in:
1 parent
ea899a5760
commit
af81ed880d
13 files changed
+27
-93
No files matched your search
@@ -224,20 +224,12 @@ static struct grub_video_adapter grub_video_radeon_fuloong2e_adapter =
|
||||
.next = 0
|
||||
};
|
||||
|
||||
#ifdef GRUB_MACHINE_MIPS_LOONGSON
|
||||
void grub_video_radeon_fuloong2e_init (void)
|
||||
#else
|
||||
GRUB_MOD_INIT(video_radeon_fuloong2e)
|
||||
#endif
|
||||
{
|
||||
grub_video_register (&grub_video_radeon_fuloong2e_adapter);
|
||||
}
|
||||
|
||||
#ifdef GRUB_MACHINE_MIPS_LOONGSON
|
||||
void grub_video_radeon_fuloong2e_fini (void)
|
||||
#else
|
||||
GRUB_MOD_FINI(video_radeon_fuloong2e)
|
||||
#endif
|
||||
{
|
||||
grub_video_unregister (&grub_video_radeon_fuloong2e_adapter);
|
||||
}
|
||||
Reference in new issue
Block a user