aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJeong-Hyeon Kim <jhkim@insignal.co.kr>2012-08-28 20:51:04 +0900
committerJohn Rigby <john.rigby@linaro.org>2012-12-06 13:51:42 -0700
commita7f929e0789f108fa155bfaf21cc1bd47d2bac45 (patch)
tree18a05e10d4da4b30f142256e8d5f9e7f230d6352 /board
parent4a703be87762dfd8753ad77af235f2db252592e3 (diff)
downloadu-boot-linaro-stable-a7f929e0789f108fa155bfaf21cc1bd47d2bac45.tar.gz
EXYNOS: change the compile/clean option of spl
spl tool of exynos5 designed only for smdk5250. It compiled when defined CONFIG_SMDK5250 and BOARD name is smdk5250. It means that it's not considered shrink boards with different board name. So, it changed compile condition to exynos5 family option not a specific board name for cover the other board. I also modified clean condition to clear compiled spl. Otherwise, tools/mk*spl show on untracked files. It should be ignore in git. Signed-off-by: Jeong-Hyeon Kim <jhkim@insignal.co.kr>
Diffstat (limited to 'board')
-rw-r--r--board/samsung/origen/Makefile6
-rw-r--r--board/samsung/smdkv310/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/board/samsung/origen/Makefile b/board/samsung/origen/Makefile
index 3a885a5cd..bb95cc8e8 100644
--- a/board/samsung/origen/Makefile
+++ b/board/samsung/origen/Makefile
@@ -41,7 +41,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
ALL +=$(obj).depend $(LIB)
ifdef CONFIG_SPL_BUILD
-ALL += $(OBJTREE)/tools/mk$(BOARD)spl
+ALL += $(OBJTREE)/tools/mk$(SOC)spl
endif
all: $(ALL)
@@ -50,8 +50,8 @@ $(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))
ifdef CONFIG_SPL_BUILD
-$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c
- $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
+$(OBJTREE)/tools/mk$(SOC)spl: tools/mkv310_image.c
+ $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(SOC)spl
endif
#########################################################################
diff --git a/board/samsung/smdkv310/Makefile b/board/samsung/smdkv310/Makefile
index 56e0c16eb..c2f344eed 100644
--- a/board/samsung/smdkv310/Makefile
+++ b/board/samsung/smdkv310/Makefile
@@ -40,7 +40,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
ALL := $(obj).depend $(LIB)
ifdef CONFIG_SPL_BUILD
-ALL += $(OBJTREE)/tools/mk$(BOARD)spl
+ALL += $(OBJTREE)/tools/mk$(SOC)spl
endif
all: $(ALL)
@@ -49,8 +49,8 @@ $(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))
ifdef CONFIG_SPL_BUILD
-$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c
- $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
+$(OBJTREE)/tools/mk$(SOC)spl: tools/mkv310_image.c
+ $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(SOC)spl
endif
#########################################################################