mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
d2b2128a28
via the Linux tool. - Add Linux shim to ipmi(4) - Create a partitions file to linprocfs to make Linux fdisk see disks. This file is dynamic so we can see disks come and go. - Convert msdosfs to vfat in mtab since Linux uses that for msdosfs. - In the Linux mount path convert vfat passed in to msdosfs so Linux mount works on FreeBSD. Note that tasting works so that if da0 is a msdos file system /compat/linux/bin/mount /dev/da0 /mnt works. - fix a 64it bug for l_off_t. Grabing sh, mount, fdisk, df from Linux, creating a symlink of mtab to /compat/linux/etc/mtab and then some careful unpacking of the Linux bmc update tool and hacking makes it work on newer Dell boxes. Note, probably if you can't figure out how to do this, then you probably shouldn't be doing it :-)
16 lines
387 B
Makefile
16 lines
387 B
Makefile
# $FreeBSD$
|
|
|
|
SUBDIR+= ipmi_linux
|
|
|
|
.PATH: ${.CURDIR}/../../dev/ipmi
|
|
|
|
# XXX - ipmi_smbus and ipmi_ssif depend on smbus
|
|
# XXX - ipmi_acpi depends on acpi
|
|
KMOD= ipmi
|
|
SRCS= ipmi.c ipmi_kcs.c ipmi_smic.c ipmi_smbios.c ipmi_ssif.c
|
|
SRCS+= ipmi_acpi.c ipmi_isa.c ipmi_pci.c ipmi_smbus.c
|
|
SRCS+= opt_acpi.h
|
|
SRCS+= acpi_if.h bus_if.h device_if.h isa_if.h pci_if.h smbus_if.h
|
|
|
|
.include <bsd.kmod.mk>
|