iPXE
named.h
Go to the documentation of this file.
00001 #ifndef CONFIG_NAMED_H
00002 #define CONFIG_NAMED_H
00003 
00004 /** @file
00005  *
00006  * Named configurations
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 /* config/<name>/<header>.h */
00013 #ifdef CONFIG
00014 #define NAMED_CONFIG(_header) <config/CONFIG/_header>
00015 #else
00016 #define NAMED_CONFIG(_header) <config/_header>
00017 #endif
00018 
00019 /* config/local/<name>/<header>.h */
00020 #ifdef LOCAL_CONFIG
00021 #define LOCAL_NAMED_CONFIG(_header) <config/local/LOCAL_CONFIG/_header>
00022 #else
00023 #define LOCAL_NAMED_CONFIG(_header) <config/_header>
00024 #endif
00025 
00026 #endif /* CONFIG_NAMED_H */