[rtems-libbsd commit] i386: Add missing files to build system

Sebastian Huber sebh at rtems.org
Fri Apr 17 11:18:57 UTC 2020


Module:    rtems-libbsd
Branch:    5-freebsd-12
Commit:    079bdd367781102d9f7323ec2b2f154da2269b82
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=079bdd367781102d9f7323ec2b2f154da2269b82

Author:    Jan Sommer <jan.sommer at dlr.de>
Date:      Fri Apr 17 10:24:04 2020 +0200

i386: Add missing files to build system

- Update FreeBSD files in libbsd.py to required by i386 based BSPs
- Some machine specific header files have moved to different directories
in FreeBSD
- Add missing files e1000 network driver (iflib*)

---

 libbsd.py | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/libbsd.py b/libbsd.py
index cece4ed..2f40662 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -1374,10 +1374,14 @@ class dev_net(builder.Module):
                 'sys/net/if_types.h',
                 'sys/net/if_var.h',
                 'sys/net/vnet.h',
+                'sys/net/mp_ring.h',
+                'sys/net/iflib_private.h',
             ]
         )
         self.addKernelSpaceSourceFiles(
             [
+                'sys/net/iflib.c',
+                'sys/net/mp_ring.c',
                 'sys/arm/ti/cpsw/if_cpsw.c',
                 'sys/dev/ffec/if_ffec.c',
                 'sys/dev/mii/mii.c',
@@ -1430,10 +1434,12 @@ class dev_nic(builder.Module):
         self.addCPUDependentFreeBSDHeaderFiles(
             [
                 'sys/arm/include/cpufunc.h',
-                'sys/i386/include/specialreg.h',
                 'sys/i386/include/md_var.h',
                 'sys/i386/include/intr_machdep.h',
                 'sys/i386/include/cpufunc.h',
+                'sys/x86/include/intr_machdep.h',
+                'sys/x86/include/specialreg.h',
+                'sys/x86/include/x86_var.h',
                 'sys/mips/include/cpufunc.h',
                 'sys/mips/include/cpuregs.h',
                 'sys/powerpc/include/cpufunc.h',
@@ -2609,7 +2615,7 @@ class pci(builder.Module):
         self.addCPUDependentFreeBSDHeaderFiles(
             [
                 'sys/i386/include/_bus.h',
-                'sys/i386/include/legacyvar.h',
+                'sys/x86/include/legacyvar.h',
                 'sys/x86/include/bus.h',
                 'sys/x86/include/pci_cfgreg.h',
             ]
@@ -2617,7 +2623,7 @@ class pci(builder.Module):
         self.addCPUDependentFreeBSDSourceFiles(
             [ 'i386' ],
             [
-                'sys/i386/i386/legacy.c',
+                'sys/x86/x86/legacy.c',
                 'sys/x86/pci/pci_bus.c',
             ],
             mm.generator['source']()



More information about the vc mailing list