Changeset 4069

Show
Ignore:
Timestamp:
07/24/06 21:34:09 (2 years ago)
Author:
khali
Message:

Makefile: Silent errors on missing dependency files.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r4067 r4069  
    1212           Fix no sensors being reported as an error 
    1313  Makefile: Don't grep autoconf.h on user-space targets 
    14   Makefile: Fix depmod on non-running kernel version 
     14            Fix depmod on non-running kernel version 
     15            Silent errors on missing dependency files 
    1516  Module i2c-ali1535: Drop redundant semaphore (2.6 backport) 
    1617  Module i2c-amd756-s4882: Improve static semaphore initialization 
  • lm-sensors/trunk/Makefile

    r3283 r4069  
    280280LIBCFLAGS := -fpic $(ALL_CFLAGS) 
    281281 
    282 .PHONY: all clean install version package dep 
     282.PHONY: all clean install version package 
    283283 
    284284# Make all the default rule 
     
    294294ifneq ($(MAKECMDGOALS),package) 
    295295ifneq ($(MAKECMDGOALS),userpackage) 
    296 include $(INCLUDEFILES) 
     296-include $(INCLUDEFILES) 
    297297endif 
    298298endif 
     
    305305MANPAGES := $(LIBMAN3FILES) $(LIBMAN5FILES) $(PROGDETECTMAN8FILES) $(PROGDUMPMAN8FILES) \ 
    306306            $(PROGSENSORSMAN1FILES) $(PROGPWMMAN8FILES) prog/sensord/sensord.8 
    307  
    308 # Making the dependency files - done automatically! 
    309 dep :  
    310307 
    311308user :: 
     
    396393        @echo '  clean: cleanup' 
    397394        @echo '  package: create a distribution package' 
    398         @echo 'Note: make dep is automatic' 
    399395 
    400396$(LINUX)/.config: 
     
    430426.SUFFIXES: 
    431427 
    432 # We need to create dependency files. Tricky. We sed rule puts dir/file.d and 
     428# We need to create dependency files. Tricky. The sed rule puts dir/file.d and 
    433429# dir/file.c in front of the dependency file rule. 
    434430 
  • lm-sensors/trunk/doc/developers/makefiles

    r4064 r4069  
    2525  * clean-i2c, clean-src, ... 
    2626    Remove anything which can be regenerated from the designated directory. 
    27   * dep 
    28     Do nothing, but generate any missing .d files. The command 
    29     'make clean && make dep' canbe useful in this case ('make clean dep'  
    30     will not work, due to technical reasons!). 
    3127  * version 
    3228    Regenerate version.h, using the current date for the date-stamp, and 
  • lm-sensors/trunk/kernel/chips/Module.mk

    r3169 r4069  
    176176ifneq ($(shell if grep -q '^CONFIG_SENSORS_W83627HF=y' $(LINUX)/.config; then echo 1; fi),1) 
    177177KERNELCHIPSTARGETS += $(MODULE_DIR)/w83627hf.o 
     178endif 
     179ifneq ($(shell if grep -q '^CONFIG_SENSORS_W83627EHF=y' $(LINUX)/.config; then echo 1; fi),1) 
     180KERNELCHIPSTARGETS += $(MODULE_DIR)/w83627ehf.o 
    178181endif 
    179182ifneq ($(shell if grep -q '^CONFIG_SENSORS_W83L785TS=y' $(LINUX)/.config; then echo 1; fi),1)