[PATCH v1 3/6] i386: Add missing files to build system

Jan Sommer jan.sommer at dlr.de
Fri Aug 14 19:57:50 UTC 2020


- Update FreeBSD files in libbsd.py to required by i386 based BSPs
- Add missing files e1000 network driver (iflib*)
---
 libbsd.py | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/libbsd.py b/libbsd.py
index e02226f3..08931401 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -1506,10 +1506,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',
@@ -1562,12 +1566,13 @@ 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/x86/include/intr_machdep.h',
-                'sys/x86/include/metadata.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',
@@ -2753,7 +2758,6 @@ class pci(builder.Module):
         self.addCPUDependentFreeBSDHeaderFiles(
             [
                 'sys/i386/include/_bus.h',
-                'sys/i386/include/bus.h',
                 'sys/x86/include/legacyvar.h',
                 'sys/x86/include/bus.h',
                 'sys/x86/include/pci_cfgreg.h',
-- 
2.17.1



More information about the devel mailing list