Skip to content

Commit

Permalink
[config] Make the default image type selection platform-dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Oct 13, 2008
1 parent 07e8f18 commit d4e152e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
7 changes: 7 additions & 0 deletions src/config/defaults/pcbios.h
Expand Up @@ -15,4 +15,11 @@
#define NAP_PCBIOS
#define UMALLOC_MEMTOP

#define IMAGE_ELF /* ELF image support */
#define IMAGE_MULTIBOOT /* MultiBoot image support */
#define IMAGE_PXE /* PXE image support */
#define IMAGE_SCRIPT /* gPXE script image support */
#define IMAGE_BZIMAGE /* Linux bzImage image support */
#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */

#endif /* CONFIG_DEFAULTS_PCBIOS_H */
22 changes: 12 additions & 10 deletions src/config/general.h
Expand Up @@ -7,6 +7,8 @@
*
*/

#include <config/defaults.h>

/*
* Timer configuration
*
Expand Down Expand Up @@ -50,16 +52,16 @@
* you want to use.
*
*/
#undef IMAGE_NBI /* NBI image support */
#define IMAGE_ELF /* ELF image support */
#undef IMAGE_FREEBSD /* FreeBSD kernel image support */
#define IMAGE_MULTIBOOT /* MultiBoot image support */
#undef IMAGE_AOUT /* a.out image support */
#undef IMAGE_WINCE /* WinCE image support */
#define IMAGE_PXE /* PXE image support */
#define IMAGE_SCRIPT /* gPXE script image support */
#define IMAGE_BZIMAGE /* Linux bzImage image support */
#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
//#define IMAGE_NBI /* NBI image support */
//#define IMAGE_ELF /* ELF image support */
//#define IMAGE_FREEBSD /* FreeBSD kernel image support */
//#define IMAGE_MULTIBOOT /* MultiBoot image support */
//#define IMAGE_AOUT /* a.out image support */
//#define IMAGE_WINCE /* WinCE image support */
//#define IMAGE_PXE /* PXE image support */
//#define IMAGE_SCRIPT /* gPXE script image support */
//#define IMAGE_BZIMAGE /* Linux bzImage image support */
//#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */

/*
* Command-line commands to include
Expand Down

0 comments on commit d4e152e

Please sign in to comment.