mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
don't build module dependencies for user and user_install
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2085 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
e90563ba2f
commit
320562a22b
2 files changed
+10
-3
No files matched your search
@@ -150,8 +150,14 @@ MACHINE := $(shell uname -m)
|
||||
# to do this.
|
||||
|
||||
# The subdirectories we need to build things in
|
||||
SRCDIRS := mkpatch
|
||||
SRCDIRS += kernel kernel/busses kernel/chips kernel/include
|
||||
SRCDIRS :=
|
||||
ifneq ($(MAKECMDGOALS),user)
|
||||
ifneq ($(MAKECMDGOALS),user_install)
|
||||
SRCDIRS += mkpatch
|
||||
SRCDIRS += kernel kernel/busses kernel/chips
|
||||
endif
|
||||
endif
|
||||
SRCDIRS += kernel/include
|
||||
SRCDIRS += lib prog/detect prog/dump prog/eeprom prog/pwm \
|
||||
prog/sensors prog/xeon ${PROG_EXTRA:%=prog/%} etc
|
||||
|
||||
@@ -164,7 +170,7 @@ BISON := bison
|
||||
FLEX := flex
|
||||
AR := ar
|
||||
INSTALL := install
|
||||
LN := ln -sfn
|
||||
LN := ln -sf
|
||||
GREP := grep
|
||||
AWK := awk
|
||||
SED := sed
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
# verbatim in the rules, until it is redefined.
|
||||
MODULE_DIR := kernel/include
|
||||
KERNELINCLUDEDIR := $(MODULE_DIR)
|
||||
KERNELCHIPSDIR := kernel/chips
|
||||
|
||||
KERNELINCLUDEFILES := $(MODULE_DIR)/i2c-dev.h $(MODULE_DIR)/sensors.h
|
||||
|
||||
|
||||
Reference in new issue
Block a user