network: Use kernel/user space header files

Add and use <machine/rtems-bsd-kernel-space.h> and
<machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command
line defines and defines scattered throught the code base.

Simplify cpukit/libnetworking/Makefile.am.

Update #3375.
This commit is contained in:
Sebastian Huber
2018-09-07 06:19:02 +02:00
parent 43fb904e47
commit cb682532cf
178 changed files with 483 additions and 221 deletions

View File

@@ -17,7 +17,7 @@
| this file contains the MPC83xx TSEC networking driver |
\*===============================================================*/
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
#include <machine/rtems-bsd-kernel-space.h>
#include <stdlib.h>
#include <bsp.h>