Parcourir la source

[config] Enable PXE commands by default only on pcbios architecture

The commands bring in UNDI and thus real-mode code, so they cannot be
used on EFI.

Signed-off-by: Michael Brown <mcb30@etherboot.org>
tags/v0.9.8
Joshua Oreman il y a 16 ans
Parent
révision
bba00b0c13
2 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 2
    0
      src/config/defaults/pcbios.h
  2. 1
    1
      src/config/general.h

+ 2
- 0
src/config/defaults/pcbios.h Voir le fichier

25
 #define IMAGE_BZIMAGE		/* Linux bzImage image support */
25
 #define IMAGE_BZIMAGE		/* Linux bzImage image support */
26
 #define IMAGE_COMBOOT		/* SYSLINUX COMBOOT image support */
26
 #define IMAGE_COMBOOT		/* SYSLINUX COMBOOT image support */
27
 
27
 
28
+#define	PXE_CMD			/* PXE commands */
29
+
28
 #define	SANBOOT_PROTO_ISCSI	/* iSCSI protocol */
30
 #define	SANBOOT_PROTO_ISCSI	/* iSCSI protocol */
29
 #define	SANBOOT_PROTO_AOE	/* AoE protocol */
31
 #define	SANBOOT_PROTO_AOE	/* AoE protocol */
30
 
32
 

+ 1
- 1
src/config/general.h Voir le fichier

105
 #define LOGIN_CMD		/* Login command */
105
 #define LOGIN_CMD		/* Login command */
106
 #undef	TIME_CMD		/* Time commands */
106
 #undef	TIME_CMD		/* Time commands */
107
 #undef	DIGEST_CMD		/* Image crypto digest commands */
107
 #undef	DIGEST_CMD		/* Image crypto digest commands */
108
-#define	PXE_CMD			/* PXE commands */
108
+//#undef	PXE_CMD			/* PXE commands */
109
 
109
 
110
 /*
110
 /*
111
  * Obscure configuration options
111
  * Obscure configuration options

Chargement…
Annuler
Enregistrer