[rtems-libbsd commit] Move option defines to corresponding header files
Sebastian Huber
sebh at rtems.org
Mon Nov 11 09:02:12 UTC 2013
Module: rtems-libbsd
Branch: master
Commit: ef0c275331705f407e66b30241844408f9abf95d
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=ef0c275331705f407e66b30241844408f9abf95d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Nov 6 16:13:07 2013 +0100
Move option defines to corresponding header files
---
.../include/machine/rtems-bsd-kernel-space.h.in | 6 ------
rtemsbsd/include/rtems/bsd/local/opt_inet.h | 1 +
rtemsbsd/include/rtems/bsd/local/opt_inet6.h | 1 +
rtemsbsd/include/rtems/bsd/local/opt_ipsec.h | 1 +
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 906613f..b725602 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 fdf7009..9b12a5b 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 e69de29..1aaf3a6 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 e69de29..a70da12 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
More information about the vc
mailing list