unified: include kernel.h via major top-level header files
This allows current code to build but using the definitions from kernel.h instead of the original headers. Change-Id: I8f51a83bab4448cd63aa6c54b8e357a8ad6cc1e2 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
d4e78bce0a
commit
5d23818070
4 changed files with 29 additions and 7 deletions
|
@ -17,11 +17,18 @@
|
|||
#ifndef _ZEPHYR__H
|
||||
#define _ZEPHYR__H
|
||||
|
||||
#if CONFIG_MICROKERNEL
|
||||
#ifdef CONFIG_KERNEL_V2
|
||||
#include <kernel.h>
|
||||
#elif CONFIG_MICROKERNEL
|
||||
#include <microkernel.h>
|
||||
#include <sysgen.h>
|
||||
#else
|
||||
#elif CONFIG_NANOKERNEL
|
||||
#include <nanokernel.h>
|
||||
#endif /* CONFIG_MICROKERNEL */
|
||||
#else
|
||||
#error "unknown kernel type!"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_MDEF
|
||||
#include <sysgen.h>
|
||||
#endif
|
||||
|
||||
#endif /* _ZEPHYR__H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue