summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c5
-rw-r--r--src/config/defaults/linux.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 561e53d40..cb66e164e 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -263,3 +263,8 @@ REQUIRE_OBJECT ( gdbstub_cmd );
*/
REQUIRE_OBJECT ( device );
REQUIRE_OBJECT ( embedded );
+
+/* linux drivers aren't picked up by the parserom utility so drag them in here */
+#ifdef DRIVERS_LINUX
+REQUIRE_OBJECT ( tap );
+#endif
diff --git a/src/config/defaults/linux.h b/src/config/defaults/linux.h
index a678aa4f1..901097fda 100644
--- a/src/config/defaults/linux.h
+++ b/src/config/defaults/linux.h
@@ -14,6 +14,8 @@
#define NAP_LINUX
#define SMBIOS_LINUX
+#define DRIVERS_LINUX
+
#define IMAGE_SCRIPT
#endif /* CONFIG_DEFAULTS_LINUX_H */