iPXE
named.h
Go to the documentation of this file.
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 FILE_SECBOOT ( PERMITTED );
12 
13 /* config/<name>/<header>.h */
14 #ifdef CONFIG
15 #define NAMED_CONFIG(_header) <config/CONFIG/_header>
16 #else
17 #define NAMED_CONFIG(_header) <config/_header>
18 #endif
19 
20 /* config/local/<name>/<header>.h */
21 #ifdef LOCAL_CONFIG
22 #define LOCAL_NAMED_CONFIG(_header) <config/local/LOCAL_CONFIG/_header>
23 #else
24 #define LOCAL_NAMED_CONFIG(_header) <config/_header>
25 #endif
26 
27 #endif /* CONFIG_NAMED_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
FILE_SECBOOT(PERMITTED)