summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-11 11:05:21 +0900
committerTom Rini <trini@ti.com>2014-03-12 17:04:58 -0400
commit5ee828ca95de622cd11d0f3ddcccf97f4935de5b (patch)
tree0bf4414f986c2d7e63b635ea12e773327e7d2cb5 /spl
parent01286329b27b27eaeda045b469d41b1d9fce545a (diff)
kbuild: rename OBJTREE to objtree
Prior to Kbuild, $(OBJTREE) was used for pointing to the top of build directory with absolute path. In Kbuild style, $(objtree) is used instead. This commit renames OBJTREE to objtree and delete the defition of OBJTREE. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/spl/Makefile b/spl/Makefile
index b89a579f89..be5fd3b53a 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -166,7 +166,7 @@ endif
# on the fly.
LDPPFLAGS += \
-include $(srctree)/include/u-boot/u-boot.lds.h \
- -include $(OBJTREE)/include/config.h \
+ -include $(objtree)/include/config.h \
-DCPUDIR=$(CPUDIR) \
$(shell $(LD) --version | \
sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')
@@ -197,9 +197,9 @@ else
VAR_SIZE_PARAM =
endif
$(obj)/$(BOARD)-spl.bin: $(obj)/u-boot-spl.bin
- $(if $(wildcard $(OBJTREE)/spl/board/samsung/$(BOARD)/tools/mk$(BOARD)spl),\
- $(OBJTREE)/spl/board/samsung/$(BOARD)/tools/mk$(BOARD)spl,\
- $(OBJTREE)/tools/mkexynosspl) $(VAR_SIZE_PARAM) $< $@
+ $(if $(wildcard $(objtree)/spl/board/samsung/$(BOARD)/tools/mk$(BOARD)spl),\
+ $(objtree)/spl/board/samsung/$(BOARD)/tools/mk$(BOARD)spl,\
+ $(objtree)/tools/mkexynosspl) $(VAR_SIZE_PARAM) $< $@
endif
quiet_cmd_objcopy = OBJCOPY $@