mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-30 13:00:30 +00:00
add dependency on the kernel .config file; quit without it
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2049 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
bdebe88c28
commit
9e6d84d135
2 files changed
+10
-2
No files matched your search
@@ -21,7 +21,8 @@ ask CVS about it:
|
||||
Library: Fix bmcsensors scaling, increase number of sensors;
|
||||
Add w83627thf support; Advance version to 2.0.2;
|
||||
Add hermes, ADM1032, ASB100 support
|
||||
Makefiles: Install fancontrol, pwmconfig, decode-*.pl
|
||||
Makefiles: Install fancontrol, pwmconfig, decode-*.pl;
|
||||
Fail if no kernel .config file exists
|
||||
Module asb100: New
|
||||
Module bmcsensors: Fix voltage scaling, voltage and fan limits
|
||||
Module fscher: New (Fujitsu-Siemens Hermes driver)
|
||||
|
||||
@@ -303,6 +303,12 @@ help:
|
||||
@echo ' package: create a distribution package'
|
||||
@echo 'Note: make dep is automatic'
|
||||
|
||||
$(LINUX)/.config:
|
||||
@echo "Error - missing file $(LINUX)/.config !! "
|
||||
@echo " Verify kernel source is in $(LINUX) and then"
|
||||
@echo " cd to $(LINUX) and run 'make config' !!"
|
||||
@exit 1
|
||||
|
||||
# Here, we define all implicit rules we want to use.
|
||||
|
||||
.SUFFIXES:
|
||||
@@ -311,7 +317,8 @@ help:
|
||||
# dir/file.c in front of the dependency file rule.
|
||||
|
||||
# .o files are used for modules
|
||||
%.o: %.c
|
||||
# depend on the kernel config file!
|
||||
%.o: %.c $(LINUX)/.config
|
||||
$(CC) $(MODCPPFLAGS) $(MODCFLAGS) -c $< -o $@
|
||||
|
||||
%.d: %.c
|
||||
|
||||
Reference in new issue
Block a user