]> git.sur5r.net Git - u-boot/blobdiff - drivers/qe/Makefile
spi: cadence_qspi: Fix compilation warning
[u-boot] / drivers / qe / Makefile
index 7f1bd06922f4995b446581713c589d5b30ba670f..0d31ed1a429bf0ac837e97a4293b77385fa3899d 100644 (file)
@@ -1,8 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # Copyright (C) 2006 Freescale Semiconductor, Inc.
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
 
-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_U_QE) += qe.o
 obj-$(CONFIG_OF_LIBFDT) += fdt.o