summaryrefslogtreecommitdiffstats
path: root/src/config/config_ethernet.c
diff options
context:
space:
mode:
authorMichael Brown2010-09-12 22:45:50 +0200
committerMichael Brown2010-09-12 23:25:48 +0200
commit588ba3ee9ad4899e0933cebd05556b3e42cf4eef (patch)
treeff2c7639d0403a28bf4cdedc617e2667c696de25 /src/config/config_ethernet.c
parent[build] Remove unnecessary constraint on DBG_ENABLE()/DBG_DISABLE() (diff)
downloadipxe-588ba3ee9ad4899e0933cebd05556b3e42cf4eef.tar.gz
ipxe-588ba3ee9ad4899e0933cebd05556b3e42cf4eef.tar.xz
ipxe-588ba3ee9ad4899e0933cebd05556b3e42cf4eef.zip
[ethernet] Include AoE only for Ethernet builds
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config_ethernet.c')
-rw-r--r--src/config/config_ethernet.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/config/config_ethernet.c b/src/config/config_ethernet.c
new file mode 100644
index 00000000..51c197d7
--- /dev/null
+++ b/src/config/config_ethernet.c
@@ -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