[U-Boot-Users] [PATCH] Move conditional compilation of MPC8XXX SPI driver to Makefile
Wolfgang Denk
wd at denx.de
Mon May 26 09:54:53 CEST 2008
Dear Ben,
in message <1211783488-30985-1-git-send-email-biggerbadderben at gmail.com> you wrote:
>
> diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
...
> -COBJS-y += mpc8xxx_spi.o
> +COBJS-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
i. e. we move CONFIG_MPC8XXX_SPI into the Makefile...
> diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c
...
> -#if defined(CONFIG_MPC8XXX_SPI) && defined(CONFIG_HARD_SPI)
...but that would leave the "#ifded CONFIG_HARD_SPI" part still in
place. Or am I missing something?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A rolling stone gathers momentum.
More information about the U-Boot
mailing list