Przeglądaj źródła

[pxe] Remove startpxe and stoppxe commands from default builds

These commands exist primarily for debugging and are not generally
useful, so save 137 bytes by removing them by default.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 lat temu
rodzic
commit
b91116e072
2 zmienionych plików z 1 dodań i 2 usunięć
  1. 0
    1
      src/config/defaults/pcbios.h
  2. 1
    1
      src/config/general.h

+ 0
- 1
src/config/defaults/pcbios.h Wyświetl plik

@@ -28,7 +28,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
28 28
 
29 29
 #define PXE_STACK		/* PXE stack in iPXE - required for PXELINUX */
30 30
 #define PXE_MENU		/* PXE menu booting */
31
-#define	PXE_CMD			/* PXE commands */
32 31
 
33 32
 #define	SANBOOT_PROTO_ISCSI	/* iSCSI protocol */
34 33
 #define	SANBOOT_PROTO_AOE	/* AoE protocol */

+ 1
- 1
src/config/general.h Wyświetl plik

@@ -124,7 +124,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
124 124
 #undef	DIGEST_CMD		/* Image crypto digest commands */
125 125
 #undef	LOTEST_CMD		/* Loopback testing commands */
126 126
 #undef	VLAN_CMD		/* VLAN commands */
127
-//#undef	PXE_CMD			/* PXE commands */
127
+#undef	PXE_CMD			/* PXE commands */
128 128
 
129 129
 /*
130 130
  * Error message tables to include

Ładowanie…
Anuluj
Zapisz