I updated my libbsd today and an application is failing to build because it 
can't find the include file "rtems/bsd/test/network-config.h".  It was added 
yesterday to "rtemsbsd/include/bsp/nexus-devices.h".  "nexus-devices.h" the 
only file outside of the testsuite directory that includes "network-config.h", 
and that network-config.h file is in .gitignore.  Or am I missing a build step?

Build failure:
--------------

Waf: Entering directory `XXX/build/arm-rtems6-imxrt1052'
[6/9] Compiling demo/init.c
In file included from 
/opt/flatland/opt/rtems-6/arm-rtems6/imxrt1052/lib/include/machine/rtems-bsd-config.h:230,
                 from ../../demo/init.c:695:
/opt/flatland/opt/rtems-6/arm-rtems6/imxrt1052/lib/include/bsp/nexus-devices.h:41:10:
 fatal error: rtems/bsd/test/network-config.h: No such file or directory
   41 | #include <rtems/bsd/test/network-config.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

"rtems/bsd/test/network-config.h" was added to 
"rtemsbsd/include/bsp/nexus-devices.h"

Committed yesterday by Joel at 11:30:
--------------------------------------

Module:    rtems-libbsd
Branch:    6-freebsd-12
Commit:    b0c8153d54f7b14ed305f0da23a3dc2e207a0968
Changeset: 
http://git.rtems.org/rtems-libbsd/commit/?id=b0c8153d54f7b14ed305f0da23a3dc2e207a0968

Author:    Kinsey Moore <kinsey.mo...@oarcorp.com>
Date:      Wed Jun 30 15:00:58 2021 -0500

rtemsbsd: Use config.inc to control ZynqMP ethernet

This alters the selection of the 4 Cadence GEM interfaces on the Zynq
Ultrascale+ MPSoC BSP to be provided by config.inc instead of being
provided by options in the RTEMS BSP itself since those options appear
to be dead code when not used in conjunction with LibBSD.

---

rtemsbsd/include/bsp/nexus-devices.h                 | 9 +++++----
testsuite/include/rtems/bsd/test/network-config.h.in | 8 ++++++++
waf_libbsd.py                                        | 4 +++-
3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/rtemsbsd/include/bsp/nexus-devices.h 
b/rtemsbsd/include/bsp/nexus-devices.h
index 5c1bab4..cbb3f48 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -38,6 +38,7 @@

#include <rtems/bsd/bsd.h>
#include <rtems/bsd/modules.h>
+#include <rtems/bsd/test/network-config.h>
#include <machine/rtems-bsd-nexus-bus.h>

...

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to