From 1fd9de2bed43165cc61f56798cd4af2085c69e5e Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 27 Aug 2002 13:39:31 +0000 Subject: 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. --- sys/modules/acpi/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile index 13eaa6f..41e4a17 100644 --- a/sys/modules/acpi/Makefile +++ b/sys/modules/acpi/Makefile @@ -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 -- cgit v1.1