From 01286329b27b27eaeda045b469d41b1d9fce545a Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 11 Mar 2014 11:05:20 +0900 Subject: 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 --- mkconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkconfig') diff --git a/mkconfig b/mkconfig index b755d2ac69..17ff298199 100755 --- a/mkconfig +++ b/mkconfig @@ -105,7 +105,7 @@ fi # if [ -n "$KBUILD_SRC" ] ; then mkdir -p ${OBJTREE}/include - LNPREFIX=${SRCTREE}/arch/${arch}/include/asm/ + LNPREFIX=${srctree}/arch/${arch}/include/asm/ cd ${OBJTREE}/include mkdir -p asm else @@ -126,7 +126,7 @@ if [ "${arch}" = "arm" ] ; then fi if [ -z "$KBUILD_SRC" ] ; then - cd ${SRCTREE}/include + cd ${srctree}/include fi # -- cgit v1.2.1