mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-04 21:58:18 +00:00
Makefile enhancements, printk enhancements
* Modules now print their version number and date on insertion * Some printk statements missed a \n * 'make clean' now works, even if some .d (dependency) files contain garbage. Note that *only* 'make clean' helps in that case; 'make clean all', for example, will fail! There is really no nice way to solve that. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@11 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
d0f87b72e9
commit
ed7e4c3001
11 files changed
+36
-17
No files matched your search
@@ -40,6 +40,11 @@ I2C := 1
|
||||
WARN := 0
|
||||
#WARN := 1
|
||||
|
||||
# Uncomment the second line if you want to get (loads of) debug information.
|
||||
# Not recommended, unless you are actually debugging the code
|
||||
DEBUG := 0
|
||||
#DEBUG := 1
|
||||
|
||||
# This is the directory into which the modules will be installed, if you
|
||||
# call 'make install'
|
||||
MODDIR := /lib/modules/extra/misc
|
||||
@@ -106,10 +111,14 @@ endif
|
||||
all::
|
||||
|
||||
# Include all makefiles for sub-modules
|
||||
INCLUDEFILES :=
|
||||
include $(patsubst %,%/Module.mk,$(MODULES))
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
include $(INCLUDEFILES)
|
||||
endif
|
||||
|
||||
# Making the dependency files - done automatically!
|
||||
dep:
|
||||
dep :
|
||||
|
||||
all ::
|
||||
|
||||
|
||||
Reference in new issue
Block a user