Commit 4c76b552 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini

drivers/qe: move the entry to drivers/Makefile

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent c54ecaa9
...@@ -271,11 +271,7 @@ LIBS-y += drivers/power/libpower.o \ ...@@ -271,11 +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),mpc83xx)
LIBS-y += drivers/qe/libqe.o
endif
ifeq ($(CPU),mpc85xx) ifeq ($(CPU),mpc85xx)
LIBS-y += drivers/qe/libqe.o
LIBS-y += drivers/net/fm/libfm.o LIBS-y += drivers/net/fm/libfm.o
endif endif
LIBS-y += drivers/serial/libserial.o LIBS-y += drivers/serial/libserial.o
......
...@@ -13,3 +13,4 @@ obj-y += tpm/ ...@@ -13,3 +13,4 @@ obj-y += tpm/
obj-y += twserial/ obj-y += twserial/
obj-y += video/ obj-y += video/
obj-y += watchdog/ obj-y += watchdog/
obj-$(CONFIG_QE) += qe/
...@@ -4,5 +4,5 @@ ...@@ -4,5 +4,5 @@
# SPDX-License-Identifier: GPL-2.0+ # SPDX-License-Identifier: GPL-2.0+
# #
obj-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o obj-y := qe.o uccf.o uec.o uec_phy.o
obj-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o obj-$(CONFIG_OF_LIBFDT) += fdt.o
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment