[U-Boot] [PATCH] sf: Updated Makefile to group generic files

Tom Rini trini at ti.com
Thu Dec 19 17:36:06 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/19/2013 10:57 AM, Jagannadha Sutradharudu Teki wrote:
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
> Cc: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>  drivers/mtd/spi/Makefile | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile
> index 26483a2..fd8f8a4 100644
> --- a/drivers/mtd/spi/Makefile
> +++ b/drivers/mtd/spi/Makefile
> @@ -10,8 +10,15 @@ obj-$(CONFIG_SPL_SPI_LOAD)	+= spi_spl_load.o
>  obj-$(CONFIG_SPL_SPI_BOOT)	+= fsl_espi_spl.o
>  endif
>  
> -obj-$(CONFIG_CMD_SF)        += sf.o
> -obj-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o
> +ifdef CONFIG_CMD_SF
> +obj-y += sf.o
> +endif
> +
> +ifdef CONFIG_SPI_FLASH
> +obj-y += sf_probe.o
> +obj-y += sf_ops.o
> +endif
> +
>  obj-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o
>  obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
>  obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o

OK, wait, what?  What's being solved here?  Thanks!

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSsyB2AAoJENk4IS6UOR1WxwwP/07hFRvhx7lhWVnpxM4mPHt3
TgqAv7lV/uQGKJ2PowedoelnFNQkvXeHCKv2B8c90MsKc4sEybp6RCxN+jcZyCNj
selbPo9NIo2mLKEGBAxzGXGZGe33ij9iCr7txl1kVOJHcpajQLBZdWYxc0nHfFjg
iJs+nypmwQuJ2+Vcgvqa9TmHxnZTQfg4wcpSy/nTxJmc/kiyjBiXWcStjOxz9LKV
uNZcwmdQm4/1btY45mGgllDWCFODg58XlaAvCY0G2QDs016USUPt9a2aQuO8weF8
X04a21Z0FndVHWlhY+B9rtXx20Tg+3O3q38rdaxDXNeqOUpmsvvnm4vyWKYCMc64
hO0gfiNDCjpVLA6QmuH1uUQ/ZHRwHIqM+zz20zAm87McoznGmEV0lA+aQB82Zs7x
sQ7kGCAgpSJ0Z/LhOcktsMpWYdHm+sEEvrBI4DIgt/jbqwWhGdXYoDNnUmXAnf5w
q1GWrO16DTNIW3//74T8IRyME9yjw5ALLvxrPhadTIoHGBzi1TLXGFTQnQo7zMMK
oEiMnm5IWC3YJiNgTB6KSDlrz8Hk+WD46pnG9LXn6lSehzaiImZWT2k6YDPlYbhP
INuuPT/sonQBvFBP0nKoKqnT49+eEWEylcZhIsXC5yCM5jC0YRh0ItH82cn5IOhZ
IQsLTtLjGmaDorjWu5Pe
=81su
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list