summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/config/named.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/ipxe/src/config/named.h')
-rw-r--r--qemu/roms/ipxe/src/config/named.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/qemu/roms/ipxe/src/config/named.h b/qemu/roms/ipxe/src/config/named.h
new file mode 100644
index 000000000..36efdabdd
--- /dev/null
+++ b/qemu/roms/ipxe/src/config/named.h
@@ -0,0 +1,26 @@
+#ifndef CONFIG_NAMED_H
+#define CONFIG_NAMED_H
+
+/** @file
+ *
+ * Named configurations
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+/* config/<name>/<header>.h */
+#ifdef CONFIG
+#define NAMED_CONFIG(_header) <config/CONFIG/_header>
+#else
+#define NAMED_CONFIG(_header) <config/_header>
+#endif
+
+/* config/local/<name>/<header>.h */
+#ifdef LOCAL_CONFIG
+#define LOCAL_NAMED_CONFIG(_header) <config/local/LOCAL_CONFIG/_header>
+#else
+#define LOCAL_NAMED_CONFIG(_header) <config/_header>
+#endif
+
+#endif /* CONFIG_NAMED_H */