diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-03-11 11:05:20 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-03-12 17:04:57 -0400 |
commit | 01286329b27b27eaeda045b469d41b1d9fce545a (patch) | |
tree | a9d83352c5130b4a3aa6d84c050927acb63afd93 /config.mk | |
parent | 4379ac614809da2128f8bc1f62e3dde4daaf7deb (diff) |
kbuild: rename SRCTREE to srctree
Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for
pointing to the top of source directory.
(No difference between the two.)
In Kbuild style, $(srctree) is used for instead.
This commit renames SRCTREE to srctree and deletes the
defition of SRCTREE.
Note that SRCTREE in scripts/kernel-doc, scripts/docproc.c,
doc/DocBook/Makefile should be keep.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk index 9bf4eda5636..05864aabb5a 100644 --- a/config.mk +++ b/config.mk @@ -25,7 +25,7 @@ OBJCOPYFLAGS := # Check if arch/$ARCH/cpu/$CPU exists, otherwise assume arch/$ARCH/cpu contains # CPU-specific code. CPUDIR=arch/$(ARCH)/cpu/$(CPU) -ifneq ($(SRCTREE)/$(CPUDIR),$(wildcard $(SRCTREE)/$(CPUDIR))) +ifneq ($(srctree)/$(CPUDIR),$(wildcard $(srctree)/$(CPUDIR))) CPUDIR=arch/$(ARCH)/cpu endif |