summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2010-11-22 00:40:40 +0100
committerMichael Brown2010-11-22 01:34:48 +0100
commitb91116e072c1dfad4f4acfd3dc89347ea5dd913c (patch)
tree07380d41d596f6ac8873e686d98bbbc435d0a38a
parent[legal] Add some missing FILE_LICENCE declarations (diff)
downloadipxe-b91116e072c1dfad4f4acfd3dc89347ea5dd913c.tar.gz
ipxe-b91116e072c1dfad4f4acfd3dc89347ea5dd913c.tar.xz
ipxe-b91116e072c1dfad4f4acfd3dc89347ea5dd913c.zip
[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>
-rw-r--r--src/config/defaults/pcbios.h1
-rw-r--r--src/config/general.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index 165ee14c..7846f8f0 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -28,7 +28,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define PXE_STACK /* PXE stack in iPXE - required for PXELINUX */
#define PXE_MENU /* PXE menu booting */
-#define PXE_CMD /* PXE commands */
#define SANBOOT_PROTO_ISCSI /* iSCSI protocol */
#define SANBOOT_PROTO_AOE /* AoE protocol */
diff --git a/src/config/general.h b/src/config/general.h
index b84707ab..c10312a1 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -124,7 +124,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#undef DIGEST_CMD /* Image crypto digest commands */
#undef LOTEST_CMD /* Loopback testing commands */
#undef VLAN_CMD /* VLAN commands */
-//#undef PXE_CMD /* PXE commands */
+#undef PXE_CMD /* PXE commands */
/*
* Error message tables to include