summaryrefslogtreecommitdiff
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-04 17:24:12 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:07:49 -0500
commit4a20df395d9b6961a4877852e911cbbadd019d40 (patch)
tree9292a67548d80bb1c5590b51992f104786b1b0b9 /scripts/Makefile.build
parente183a1745aa4ad05dac3d7caf5777dceff3f1958 (diff)
downloadu-boot-imx-4a20df395d9b6961a4877852e911cbbadd019d40.zip
u-boot-imx-4a20df395d9b6961a4877852e911cbbadd019d40.tar.gz
u-boot-imx-4a20df395d9b6961a4877852e911cbbadd019d40.tar.bz2
examples: Use scripts/Makefile.build
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r--scripts/Makefile.build7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index c451fbf..50c0394 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -4,7 +4,8 @@ all:
include $(TOPDIR)/config.mk
-LIB := $(obj)built-in.o
+# variable LIB is used in examples/standalone/Makefile
+__LIB := $(obj)built-in.o
LIBGCC = $(obj)libgcc.o
SRCS :=
subdir-y :=
@@ -42,9 +43,9 @@ _dummy := $(foreach d,$(obj-dirs), $(shell [ -d $(d) ] || mkdir -p $(d)))
LGOBJS := $(addprefix $(obj),$(sort $(lib-y)))
-all: $(LIB) $(addprefix $(obj),$(extra-y) $(always)) $(subdir-y)
+all: $(__LIB) $(addprefix $(obj),$(extra-y) $(always)) $(subdir-y)
-$(LIB): $(obj).depend $(OBJS)
+$(__LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))
ifneq ($(strip $(lib-y)),)