summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2008-10-13 10:37:51 +0200
committerMichael Brown2008-10-13 10:37:51 +0200
commitd4e152e7667ce8603c2517b8b0e025e54164d6bd (patch)
treeb8acf1bfd816e0ec80a56f52334f22afba385717
parent[monojob] Release reference on completed job (diff)
downloadipxe-d4e152e7667ce8603c2517b8b0e025e54164d6bd.tar.gz
ipxe-d4e152e7667ce8603c2517b8b0e025e54164d6bd.tar.xz
ipxe-d4e152e7667ce8603c2517b8b0e025e54164d6bd.zip
[config] Make the default image type selection platform-dependent
-rw-r--r--src/config/defaults/pcbios.h7
-rw-r--r--src/config/general.h22
2 files changed, 19 insertions, 10 deletions
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index b782647c..80faef13 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -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 */
diff --git a/src/config/general.h b/src/config/general.h
index 1e6fba34..bf1afd76 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -7,6 +7,8 @@
*
*/
+#include <config/defaults.h>
+
/*
* Timer configuration
*
@@ -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