mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	ppc4xx: Individual handling of ddr2_fixed.c for canyonlands_nand build
Canyonlands has a file ddr2_fixed.c which needs special treatment when building in separate directory. It has to be linked to build directory otherwise it is not seen. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
		
							parent
							
								
									70fab1908f
								
							
						
					
					
						commit
						085551c05c
					
				@ -30,7 +30,7 @@ AFLAGS	+= -DCONFIG_NAND_SPL
 | 
			
		||||
CFLAGS	+= -DCONFIG_NAND_SPL
 | 
			
		||||
 | 
			
		||||
SOBJS	:= start.o
 | 
			
		||||
SOBJS	+= init.o resetvec.o
 | 
			
		||||
SOBJS	+= init.o
 | 
			
		||||
SOBJS	+= resetvec.o
 | 
			
		||||
COBJS	:= ddr2_fixed.o
 | 
			
		||||
COBJS	+= nand_boot.o
 | 
			
		||||
@ -89,6 +89,12 @@ $(obj)nand_ecc.c:
 | 
			
		||||
	@rm -f $(obj)nand_ecc.c
 | 
			
		||||
	ln -s $(SRCTREE)/drivers/mtd/nand/nand_ecc.c $(obj)nand_ecc.c
 | 
			
		||||
 | 
			
		||||
ifneq ($(OBJTREE), $(SRCTREE))
 | 
			
		||||
$(obj)ddr2_fixed.c:
 | 
			
		||||
	@rm -f $(obj)ddr2_fixed.c
 | 
			
		||||
	ln -s $(SRCTREE)/nand_spl/board/$(BOARDDIR)/ddr2_fixed.c $(obj)ddr2_fixed.c
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
#########################################################################
 | 
			
		||||
 | 
			
		||||
$(obj)%.o:	$(obj)%.S
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user