Add NULL_TRAP as a config option
authorMichael Brown <mcb30@etherboot.org>
Sun, 11 Jun 2006 01:55:43 +0000 (01:55 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 11 Jun 2006 01:55:43 +0000 (01:55 +0000)
src/config.h
src/core/config.c

index 7dfba14..ac15f77 100644 (file)
                                 * "make bin/rtl8139.dsk bs" */
 #undef BUILD_ID                /* Include a custom build ID string,
                                 * e.g "test-foo" */
+#undef NULL_TRAP               /* Attempt to catch NULL function calls */
 
 /* @END general.h */
index ce92d90..3a57ffd 100644 (file)
@@ -199,3 +199,11 @@ REQUIRE_OBJECT ( wince );
 #ifdef PXE_IMAGE
 REQUIRE_OBJECT ( pxe );
 #endif
+
+/*
+ * Drag in miscellaneous objects
+ *
+ */
+#ifdef NULL_TRAP
+REQUIRE_OBJECT ( nulltrap );
+#endif