Move the boot images conditional selection in one place, to remove

possible mismatch images info between loader and kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38947 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2010-10-11 12:54:21 +00:00
parent 3bd99634d1
commit 89fa2a8573
3 changed files with 23 additions and 19 deletions

View File

@ -0,0 +1,21 @@
/*
* Copyright 2010, Philippe Houdoin <phoudoin at haiku-os dot org>.
* Distributed under the terms of the MIT License.
*/
#ifndef KERNEL_BOOT_IMAGES_H
#define KERNEL_BOOT_IMAGES_H
#ifdef HAIKU_DISTRO_COMPATIBILITY_OFFICIAL
# ifdef HAIKU_OFFICIAL_RELEASE
# include <boot/images-tm.h>
# else
# include <boot/images-tm-development.h>
# endif
#else
# include <boot/images-sans-tm.h>
#endif
#endif /* KERNEL_BOOT_ARCH_H */

View File

@ -12,15 +12,7 @@
#include <boot/menu.h>
#include <boot/kernel_args.h>
#include <boot/platform/generic/video.h>
#ifdef HAIKU_DISTRO_COMPATIBILITY_OFFICIAL
# ifdef HAIKU_OFFICIAL_RELEASE
# include <boot/images-tm.h>
# else
# include <boot/images-tm-development.h>
# endif
#else
# include <boot/images-sans-tm.h>
#endif
#include <boot/images.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -15,16 +15,7 @@
#include <KernelExport.h>
#define __BOOTSPLASH_KERNEL__
#ifdef HAIKU_DISTRO_COMPATIBILITY_OFFICIAL
# ifdef HAIKU_OFFICIAL_RELEASE
# include <boot/images-tm.h>
# else
# include <boot/images-tm-development.h>
# endif
#else
# include <boot/images-sans-tm.h>
#endif
#include <boot/images.h>
#include <boot_item.h>
#include <debug.h>