Remove version.h when running clean, and clean does not depend on version.h
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
6
Makefile
6
Makefile
@@ -49,9 +49,13 @@ DRIVER_VERSION = $(shell git describe --long)
|
||||
version.h: it87.c
|
||||
@echo "#define IT87_DRIVER_VERSION \"$(DRIVER_VERSION)\"" > version.h
|
||||
|
||||
modules clean: version.h
|
||||
modules: version.h
|
||||
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) $@
|
||||
|
||||
clean:
|
||||
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) $@
|
||||
rm -f version.h
|
||||
|
||||
install: modules_install
|
||||
|
||||
modules_install:
|
||||
|
Reference in New Issue
Block a user