summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-06 16:13:07 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-11 10:08:06 +0100
commitef0c275331705f407e66b30241844408f9abf95d (patch)
tree25e2ad4c381c71c0031396b1a14961dd7d6ee0f1
parente6374731ff53d1ce90021f2c9a751361e134b6f9 (diff)
downloadrtems-libbsd-ef0c275331705f407e66b30241844408f9abf95d.tar.bz2
Move option defines to corresponding header files
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-kernel-space.h.in6
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_inet.h1
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_inet6.h1
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_ipsec.h1
4 files changed, 3 insertions, 6 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h.in b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h.in
index 906613f1..b7256026 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h.in
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h.in
@@ -46,12 +46,6 @@
/* General define to activate BSD kernel parts */
#define _KERNEL 1
-/* Networking */
-#define IPSEC 1
-#define INET 1
-#define INET6 1
-#define TCP_SIGNATURE 1
-
/* Symbol rename */
#include <machine/rtems-bsd-symbols.h>
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_inet.h b/rtemsbsd/include/rtems/bsd/local/opt_inet.h
index fdf70095..9b12a5b2 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_inet.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_inet.h
@@ -1 +1,2 @@
#define INET 1
+#define TCP_SIGNATURE 1
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_inet6.h b/rtemsbsd/include/rtems/bsd/local/opt_inet6.h
index e69de29b..1aaf3a65 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_inet6.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_inet6.h
@@ -0,0 +1 @@
+#define INET6 1
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_ipsec.h b/rtemsbsd/include/rtems/bsd/local/opt_ipsec.h
index e69de29b..a70da12b 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_ipsec.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_ipsec.h
@@ -0,0 +1 @@
+#define IPSEC 1