common: Move hang() to the same header as panic()
[oweals/u-boot.git] / board / freescale / ls1046ardb / Makefile
index 348eb76ea75b0952d79fae6e8afb664f87dfd3fc..1c13ed6b6f06866b1f94c30c8ce62c2973f74be2 100644 (file)
@@ -1,10 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # Copyright 2016 Freescale Semiconductor
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
 
-obj-y += cpld.o
 obj-y += ddr.o
 obj-y += ls1046ardb.o
-obj-$(CONFIG_SYS_DPAA_FMAN) += eth.o
+ifndef CONFIG_SPL_BUILD
+obj-$(CONFIG_NET) += eth.o
+obj-y += cpld.o
+endif