diff mbox

[U-Boot,2/8] Makefile: delete unused variable LDSCRIPT_MAKEFILE_DIR

Message ID 1393393865-11608-3-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Feb. 26, 2014, 5:50 a.m. UTC
LDSCRIPT_MAKEFILE_DIR is not referenced from anywhere. Remove.

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

 Makefile | 4 ----
 1 file changed, 4 deletions(-)

Comments

Tom Rini March 4, 2014, 7:15 p.m. UTC | #1
On Wed, Feb 26, 2014 at 02:50:59PM +0900, Masahiro Yamada wrote:

> LDSCRIPT_MAKEFILE_DIR is not referenced from anywhere. Remove.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/Makefile b/Makefile
index d3b0afb..fe9e144 100644
--- 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