Comments
Patch
@@ -39,6 +39,9 @@ CFLAGS += -DCONFIG_NAND_SPL -ffunction-sections
SOBJS = start.o cpu_init.o lowlevel_init.o
COBJS = nand_boot.o nand_ecc.o s3c64xx.o smdk6400_nand_spl.o nand_base.o
+ifndef CONFIG_SYS_SKIP_RELOC
+COBJS += reloc.o membasic.o
+endif
SRCS := $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -101,6 +104,14 @@ $(obj)smdk6400_nand_spl.c:
$(obj)nand_base.c:
@rm -f $@
@ln -s $(TOPDIR)/drivers/mtd/nand/nand_base.c $@
+
+$(obj)reloc.c:
+ @rm -f $@
+ @ln -s $(TOPDIR)/common/reloc.c $@
+
+$(obj)membasic.c:
+ @rm -f $@
+ @ln -s $(TOPDIR)/lib/membasic.c $@
#########################################################################
$(obj)%.o: $(obj)%.S
This seems to use an old SPL framework, or at least it is ugly enough that I hope it is old. Add symlinks for the new files required by generic relocation. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v4: - Add new patch to fix smdk6400 with generic relocation nand_spl/board/samsung/smdk6400/Makefile | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)