summaryrefslogtreecommitdiffstats
path: root/src/core/config.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-10 20:19:05 +0200
committerMichael Brown2005-04-10 20:19:05 +0200
commit1937b39079021e0ae74f354e0ef2692ccdd5b664 (patch)
tree3dd7bb913318652865e17d2e520092700ea40635 /src/core/config.c
parentAdded post-relocation function table. (diff)
downloadipxe-1937b39079021e0ae74f354e0ef2692ccdd5b664.tar.gz
ipxe-1937b39079021e0ae74f354e0ef2692ccdd5b664.tar.xz
ipxe-1937b39079021e0ae74f354e0ef2692ccdd5b664.zip
Drag in relocate unless NORELOCATE is defined, since it's now called
only via the initialisation function table.
Diffstat (limited to 'src/core/config.c')
-rw-r--r--src/core/config.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/config.c b/src/core/config.c
index d85ca242..9407df18 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -208,3 +208,10 @@ REQUIRE_OBJECT ( btext );
REQUIRE_OBJECT ( pc_kbd );
#endif
+/*
+ * Drag in relocate.o if required
+ */
+
+#ifndef NORELOCATE
+REQUIRE_OBJECT ( relocate );
+#endif