summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-11 11:05:20 +0900
committerTom Rini <trini@ti.com>2014-03-12 17:04:57 -0400
commit01286329b27b27eaeda045b469d41b1d9fce545a (patch)
treea9d83352c5130b4a3aa6d84c050927acb63afd93 /Makefile
parent4379ac614809da2128f8bc1f62e3dde4daaf7deb (diff)
downloadblackbird-obmc-uboot-01286329b27b27eaeda045b469d41b1d9fce545a.tar.gz
blackbird-obmc-uboot-01286329b27b27eaeda045b469d41b1d9fce545a.zip
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 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f18f3eb4f5..a8ca5e90b0 100644
--- a/Makefile
+++ b/Makefile
@@ -168,10 +168,9 @@ export srctree objtree VPATH
OBJTREE := $(objtree)
SPLTREE := $(OBJTREE)/spl
TPLTREE := $(OBJTREE)/tpl
-SRCTREE := $(srctree)
-export SRCTREE OBJTREE SPLTREE TPLTREE
+export OBJTREE SPLTREE TPLTREE
-MKCONFIG := $(SRCTREE)/mkconfig
+MKCONFIG := $(srctree)/mkconfig
export MKCONFIG
# Make sure CDPATH settings don't interfere
OpenPOWER on IntegriCloud