mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
wandboard: Rework Makefile to prevent spl.o from being built
The spl.c source was entirely conditioned by CONFIG_SPL_BUILD. Change this moving CONFIG_SPL_BUILD to be used in the Makefile, which is slightly cleaner and more readable. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
This commit is contained in:
parent
cc48c2a5cf
commit
5ef237ad6f
2 changed files with 2 additions and 4 deletions
|
@ -2,4 +2,5 @@
|
|||
#
|
||||
# (C) Copyright 2013 Freescale Semiconductor, Inc.
|
||||
|
||||
obj-y := wandboard.o spl.o
|
||||
obj-y := wandboard.o
|
||||
obj-$(CONFIG_SPL_BUILD) += spl.o
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <asm/arch/sys_proto.h>
|
||||
#include <spl.h>
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD)
|
||||
#include <asm/arch/mx6-ddr.h>
|
||||
/*
|
||||
* Driving strength:
|
||||
|
@ -513,5 +512,3 @@ int board_mmc_init(bd_t *bis)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue