You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

named.h 517B

1234567891011121314151617181920212223242526
  1. #ifndef CONFIG_NAMED_H
  2. #define CONFIG_NAMED_H
  3. /** @file
  4. *
  5. * Named configurations
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. /* config/<name>/<header>.h */
  10. #ifdef CONFIG
  11. #define NAMED_CONFIG(_header) <config/CONFIG/_header>
  12. #else
  13. #define NAMED_CONFIG(_header) <config/_header>
  14. #endif
  15. /* config/local/<name>/<header>.h */
  16. #ifdef LOCAL_CONFIG
  17. #define LOCAL_NAMED_CONFIG(_header) <config/local/LOCAL_CONFIG/_header>
  18. #else
  19. #define LOCAL_NAMED_CONFIG(_header) <config/_header>
  20. #endif
  21. #endif /* CONFIG_NAMED_H */