[build] Use positive-form tests when checking for supported warnings
[ipxe.git] / src / config / named.h
1 #ifndef CONFIG_NAMED_H
2 #define CONFIG_NAMED_H
3
4 /** @file
5 *
6 * Named configurations
7 *
8 */
9
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12 /* config/<name>/<header>.h */
13 #ifdef CONFIG
14 #define NAMED_CONFIG(_header) <config/CONFIG/_header>
15 #else
16 #define NAMED_CONFIG(_header) <config/_header>
17 #endif
18
19 /* config/local/<name>/<header>.h */
20 #ifdef LOCAL_CONFIG
21 #define LOCAL_NAMED_CONFIG(_header) <config/local/LOCAL_CONFIG/_header>
22 #else
23 #define LOCAL_NAMED_CONFIG(_header) <config/_header>
24 #endif
25
26 #endif /* CONFIG_NAMED_H */