summaryrefslogtreecommitdiffstats
path: root/src/core/config.c
diff options
context:
space:
mode:
authorMichael Brown2005-05-02 13:13:47 +0200
committerMichael Brown2005-05-02 13:13:47 +0200
commitcc980d1c94f2f62b229a7560d1234b561ddebde6 (patch)
tree467573830df0f6854f467b8193a063efb743c4b1 /src/core/config.c
parentMore URL parsing moved into url.c (diff)
downloadipxe-cc980d1c94f2f62b229a7560d1234b561ddebde6.tar.gz
ipxe-cc980d1c94f2f62b229a7560d1234b561ddebde6.tar.xz
ipxe-cc980d1c94f2f62b229a7560d1234b561ddebde6.zip
Moved DOWNLOAD_PROTO_XXX options to config.h
Diffstat (limited to 'src/core/config.c')
-rw-r--r--src/core/config.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/config.c b/src/core/config.c
index 9d40b15e..fa49fdda 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -171,6 +171,26 @@ REQUIRE_OBJECT ( relocate );
#endif
/*
+ * Drag in all requested protocols
+ *
+ */
+#ifdef DOWNLOAD_PROTO_TFTP
+REQUIRE_OBJECT ( tftp );
+#endif
+#ifdef DOWNLOAD_PROTO_NFS
+REQUIRE_OBJECT ( nfs );
+#endif
+#ifdef DOWNLOAD_PROTO_HTTP
+REQUIRE_OBJECT ( http );
+#endif
+#ifdef DOWNLOAD_PROTO_TFTM
+REQUIRE_OBJECT ( tftm );
+#endif
+#ifdef DOWNLOAD_PROTO_SLAM
+REQUIRE_OBJECT ( slam );
+#endif
+
+/*
* Drag in any required resolvers
*
*/