summaryrefslogtreecommitdiffstats
path: root/rtemslwip
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2023-03-27 10:26:20 -0500
committerJoel Sherrill <joel@rtems.org>2023-03-30 08:32:14 -0500
commit8689e18979015df7329da85f9ee820e439b09973 (patch)
tree49ad25e91162627c855155491f1a71c469117cdb /rtemslwip
parentrtemslwip: Use common lwipopts for all BSPs (diff)
downloadrtems-lwip-8689e18979015df7329da85f9ee820e439b09973.tar.bz2
wscript: Build a header instead of using -D
This change moves the use of items configured in config.ini from using -D to set defines on the command line to using a header built by waf. This also resolves an issue where configuration parameters were bleeding between BSPs when multiple BSPs were configured.
Diffstat (limited to 'rtemslwip')
-rw-r--r--rtemslwip/include/lwipopts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtemslwip/include/lwipopts.h b/rtemslwip/include/lwipopts.h
index 157cce8..27e2c91 100644
--- a/rtemslwip/include/lwipopts.h
+++ b/rtemslwip/include/lwipopts.h
@@ -27,6 +27,8 @@
#ifndef __LWIPOPTS_H__
#define __LWIPOPTS_H__
+#include <lwipconfig.h>
+
/* Critical items that all BSPs must use for full functionality */
#define SYS_LIGHTWEIGHT_PROT 1
#define NO_SYS 0