]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[ethernet] Include AoE only for Ethernet builds
authorMichael Brown <mcb30@ipxe.org>
Sun, 12 Sep 2010 20:45:50 +0000 (21:45 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 12 Sep 2010 21:25:48 +0000 (22:25 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/config.c
src/config/config_ethernet.c [new file with mode: 0644]

index cb66e164e71c5e3716b95a8d1e33cd75822729dd..e50170356d76c39e0a449fc941edde4b3f9ff125 100644 (file)
@@ -135,9 +135,6 @@ REQUIRE_OBJECT ( slam );
 #ifdef SANBOOT_PROTO_ISCSI
 REQUIRE_OBJECT ( iscsiboot );
 #endif
-#ifdef SANBOOT_PROTO_AOE
-REQUIRE_OBJECT ( aoeboot );
-#endif
 #ifdef SANBOOT_PROTO_IB_SRP
 REQUIRE_OBJECT ( ib_srpboot );
 #endif
diff --git a/src/config/config_ethernet.c b/src/config/config_ethernet.c
new file mode 100644 (file)
index 0000000..51c197d
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2, or (at
+ * your option) any later version.
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#include <config/general.h>
+
+/** @file
+ *
+ * Ethernet configuration options
+ *
+ */
+
+/*
+ * Drag in Ethernet-specific protocols
+ */
+#ifdef SANBOOT_PROTO_AOE
+REQUIRE_OBJECT ( aoeboot );
+#endif