Skip to content
Snippets Groups Projects
Commit e8967d96 authored by Kumar Gala's avatar Kumar Gala
Browse files

ppc/85xx: Fix building NAND_SPL out of tree


We need to source files to exist in the O=<FOO> nand_spl dir when
we build out of tree.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent f3ee2585
No related branches found
No related tags found
No related merge requests found
...@@ -111,6 +111,12 @@ $(obj)tlb_table.c: ...@@ -111,6 +111,12 @@ $(obj)tlb_table.c:
@rm -f $(obj)tlb_table.c @rm -f $(obj)tlb_table.c
ln -sf $(SRCTREE)/board/$(BOARDDIR)/tlb.c $(obj)tlb_table.c ln -sf $(SRCTREE)/board/$(BOARDDIR)/tlb.c $(obj)tlb_table.c
ifneq ($(OBJTREE), $(SRCTREE))
$(obj)nand_boot.c:
@rm -f $(obj)nand_boot.c
ln -s $(SRCTREE)/nand_spl/board/$(BOARDDIR)/nand_boot.c $(obj)nand_boot.c
endif
######################################################################### #########################################################################
$(obj)%.o: $(obj)%.S $(obj)%.o: $(obj)%.S
......
...@@ -111,6 +111,12 @@ $(obj)tlb_table.c: ...@@ -111,6 +111,12 @@ $(obj)tlb_table.c:
@rm -f $(obj)tlb_table.c @rm -f $(obj)tlb_table.c
ln -sf $(SRCTREE)/board/$(BOARDDIR)/tlb.c $(obj)tlb_table.c ln -sf $(SRCTREE)/board/$(BOARDDIR)/tlb.c $(obj)tlb_table.c
ifneq ($(OBJTREE), $(SRCTREE))
$(obj)nand_boot.c:
@rm -f $(obj)nand_boot.c
ln -s $(SRCTREE)/nand_spl/board/$(BOARDDIR)/nand_boot.c $(obj)nand_boot.c
endif
######################################################################### #########################################################################
$(obj)%.o: $(obj)%.S $(obj)%.o: $(obj)%.S
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment