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:
Frodo Looijaard committed 1998-11-22 21:36:52 +00:00
1 parent d0f87b72e9
commit ed7e4c3001
11 files changed
+36 -17

No files matched your search

+10 -1
View File
@@ -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 ::