mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
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>
This commit is contained in:
parent
4c76b55231
commit
fc9ac3565a
2 changed files with 1 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -271,9 +271,7 @@ LIBS-y += drivers/power/libpower.o \
|
||||||
drivers/power/pmic/libpmic.o \
|
drivers/power/pmic/libpmic.o \
|
||||||
drivers/power/battery/libbattery.o
|
drivers/power/battery/libbattery.o
|
||||||
LIBS-y += drivers/spi/libspi.o
|
LIBS-y += drivers/spi/libspi.o
|
||||||
ifeq ($(CPU),mpc85xx)
|
LIBS-$(CONFIG_FMAN_ENET) += drivers/net/fm/libfm.o
|
||||||
LIBS-y += drivers/net/fm/libfm.o
|
|
||||||
endif
|
|
||||||
LIBS-y += drivers/serial/libserial.o
|
LIBS-y += drivers/serial/libserial.o
|
||||||
LIBS-y += drivers/usb/eth/libusb_eth.o
|
LIBS-y += drivers/usb/eth/libusb_eth.o
|
||||||
LIBS-y += drivers/usb/gadget/libusb_gadget.o
|
LIBS-y += drivers/usb/gadget/libusb_gadget.o
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
ifdef CONFIG_FMAN_ENET
|
|
||||||
obj-y += dtsec.o
|
obj-y += dtsec.o
|
||||||
obj-y += eth.o
|
obj-y += eth.o
|
||||||
obj-y += fm.o
|
obj-y += fm.o
|
||||||
|
@ -33,4 +32,3 @@ obj-$(CONFIG_PPC_T4240) += t4240.o
|
||||||
obj-$(CONFIG_PPC_T4160) += t4240.o
|
obj-$(CONFIG_PPC_T4160) += t4240.o
|
||||||
obj-$(CONFIG_PPC_B4420) += b4860.o
|
obj-$(CONFIG_PPC_B4420) += b4860.o
|
||||||
obj-$(CONFIG_PPC_B4860) += b4860.o
|
obj-$(CONFIG_PPC_B4860) += b4860.o
|
||||||
endif
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue