[arch] add -L $(LKROOT) to GLOBAL_LDFLAGS to let ld find common scripts

Change-Id: I497a8ef9c2b13b3b179db05986e7463688a21e5b
Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
Dima Zavin
2013-07-11 16:08:13 -07:00
parent 8bd609a648
commit e2c9b83a3a

View File

@@ -55,6 +55,7 @@ GLOBAL_LDFLAGS :=
GLOBAL_COMPILEFLAGS += -ffunction-sections -fdata-sections
GLOBAL_LDFLAGS += --gc-sections
GLOBAL_LDFLAGS += -L $(LKROOT)
# top level rule
all:: $(OUTBIN) $(OUTELF).lst $(OUTELF).debug.lst $(OUTELF).sym $(OUTELF).size $(OUTELF).hex