mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
9fddcc6661
ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week
18 lines
353 B
Makefile
18 lines
353 B
Makefile
# $Id: Makefile,v 1.1 2005/06/23 00:30:50 max Exp $
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/kbdmux
|
|
|
|
KMOD= kbdmux
|
|
SRCS= kbdmux.c opt_compat.h opt_kbd.h bus_if.h device_if.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_compat.h:
|
|
echo "#define COMPAT_FREEBSD6 1" > ${.TARGET}
|
|
|
|
opt_kbd.h:
|
|
echo "#define KBD_INSTALL_CDEV 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|