Changeset View
Changeset View
Standalone View
Standalone View
sbin/devd/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
WARNS?= 3 | WARNS?= 3 | ||||
PACKAGE=runtime | PACKAGE=runtime | ||||
CONFGROUPS= CONFS DEVD | |||||
CONFS= devd.conf | |||||
DEVD= devmatch.conf | |||||
DEVDDIR= /dev/devd | |||||
will: I think you mean `/etc/devd`? You've tested this? | |||||
brdAuthorUnsubmitted Done Inline ActionsI have now that I am back and fixed my build box. brd: I have now that I am back and fixed my build box. | |||||
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386" | |||||
Done Inline Actionsthis is wrong. Extra .if. However, it's also bogus for devmatch.conf: that should be installed everywhere. imp: this is wrong. Extra .if.
However, it's also bogus for devmatch.conf: that should be installed… | |||||
Done Inline ActionsAgree. I'm not seeing the corresponding deletes, so I'm guessing the commit was meant to include a different etc/Makefile. will: Agree. I'm not seeing the corresponding deletes, so I'm guessing the commit was meant to… | |||||
Done Inline ActionsDo we really need this? HYPERV is only true here. And ACPI is also true on arm64. the asus.conf is valid there IMHO. imp: Do we really need this? HYPERV is only true here. And ACPI is also true on arm64. the asus.conf… | |||||
.if ${MK_ACPI} != "no" | |||||
DEVD+= asus.conf | |||||
.endif | |||||
.if ${MK_HYPERV} != "no" | |||||
DEVD+= hyperv.conf | |||||
.endif | |||||
.endif | |||||
.if ${MK_USB} != "no" | |||||
+DEVD+= ulpt.conf | |||||
.endif | |||||
.if ${MACHINE} == "powerpc" | |||||
Done Inline ActionsIt would be better to use MACHINE_CPUARCH here... This is userland, so keying off the kernel arch ($MACHINE) is not right. imp: It would be better to use MACHINE_CPUARCH here... This is userland, so keying off the kernel… | |||||
DEVD+= apple.conf | |||||
.endif | |||||
.if ${MK_ZFS} != "no" | |||||
DEVD+= zfs.conf | |||||
.endif | |||||
PROG_CXX=devd | PROG_CXX=devd | ||||
SRCS= devd.cc token.l parse.y y.tab.h | SRCS= devd.cc token.l parse.y y.tab.h | ||||
MAN= devd.8 devd.conf.5 | MAN= devd.8 devd.conf.5 | ||||
NO_SHARED?=YES | NO_SHARED?=YES | ||||
LIBADD= l util | LIBADD= l util | ||||
Show All 12 Lines |
I think you mean /etc/devd? You've tested this?