blob: 36efdabdd97c89004eea467e49de89a4a8dd90bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 */
|