[PATCH v5 3/7] i386: Add missing files to build system
Jan Sommer
jan.sommer at dlr.de
Fri Apr 17 08:24:04 UTC 2020
- 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 cece4ed9..2f40662a 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']()
--
2.12.3
More information about the devel
mailing list