Removed explicit rule for creating a null opt_bus.h. kmod.mk does this

automatically once opt_foo.h is in SRCS, modulo some carelessness in
removing garbage in stale versions of opt_foo.h (touch(1) should not
be used to create opt_foo.h in kmod.mk or elsewhere).

Cleaned up nearby rule for creating opt_ddb.h.
This commit is contained in:
Bruce Evans 2002-08-27 13:39:31 +00:00
parent ecc56e1395
commit d834a93b27

View File

@ -59,13 +59,11 @@ SRCS+= dbinput.c dbstats.c dbutils.c dbxface.c
SRCS+= dmbuffer.c dmnames.c dmopcode.c dmresrc.c dmresrcl.c
SRCS+= dmresrcs.c dmutils.c dmwalk.c
opt_ddb.h: Makefile
echo '#define DDB 1' >opt_ddb.h
echo '#define DDB 1' > ${.TARGET}
.else
opt_ddb.h: Makefile
echo '' >opt_ddb.h
echo -n > ${.TARGET}
.endif
opt_bus.h: Makefile
echo '' >opt_bus.h
# Machine-specific code such as sleep/wakeup
SRCS+= acpi_machdep.c acpi_wakecode.h acpi_wakeup.c