diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-11-11 14:35:58 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-17 14:11:31 -0500 |
commit | fc9ac3565a80d571def4f2eae4ad10c4ed90cbb2 (patch) | |
tree | e4daed6609669cce7f1cd6c00a1d0f956044f507 /Makefile | |
parent | 4c76b552313f3a12a38789afa828c6a7e9e71d7a (diff) | |
download | u-boot-imx-fc9ac3565a80d571def4f2eae4ad10c4ed90cbb2.zip u-boot-imx-fc9ac3565a80d571def4f2eae4ad10c4ed90cbb2.tar.gz u-boot-imx-fc9ac3565a80d571def4f2eae4ad10c4ed90cbb2.tar.bz2 |
drivers/net/fm: descend only when CONFIG_FMAN_ENET=y
CONFIG_FMAN_ENET is defined only for CPU mpc85xx.
We do not need to filter by CPU mpc85xx.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -271,9 +271,7 @@ LIBS-y += drivers/power/libpower.o \ drivers/power/pmic/libpmic.o \ drivers/power/battery/libbattery.o LIBS-y += drivers/spi/libspi.o -ifeq ($(CPU),mpc85xx) -LIBS-y += drivers/net/fm/libfm.o -endif +LIBS-$(CONFIG_FMAN_ENET) += drivers/net/fm/libfm.o LIBS-y += drivers/serial/libserial.o LIBS-y += drivers/usb/eth/libusb_eth.o LIBS-y += drivers/usb/gadget/libusb_gadget.o |