Makefile: delete unused variable LDSCRIPT_MAKEFILE_DIR
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 26 Feb 2014 05:50:59 +0000 (14:50 +0900)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:27:39 +0000 (09:27 -0500)
LDSCRIPT_MAKEFILE_DIR is not referenced from anywhere. Remove.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile

index 0281171ae83b3466f3616b284b0ba462d2346c45..ca15e25a707c79f5dadb07003af3ab639f6a25ff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -489,8 +489,6 @@ endif
 # that (or fail if absent).  Otherwise, search for a linker script in a
 # standard location.
 
-LDSCRIPT_MAKEFILE_DIR = $(dir $(LDSCRIPT))
-
 ifndef LDSCRIPT
        #LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
        ifdef CONFIG_SYS_LDSCRIPT
@@ -515,8 +513,6 @@ ifndef LDSCRIPT
        endif
        ifeq ($(wildcard $(LDSCRIPT)),)
                LDSCRIPT := $(TOPDIR)/arch/$(ARCH)/cpu/u-boot.lds
-               # We don't expect a Makefile here
-               LDSCRIPT_MAKEFILE_DIR =
        endif
 endif