spl: spl_legacy: Use IS_ENABLED() to remove #ifdef
[oweals/u-boot.git] / board / wandboard / Makefile
index 5b50ecaf22d69a64f7803d0fabb2f7b0017560e2..c3d80536b3a322acb5161c0d4451529955c43719 100644 (file)
@@ -1,7 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # (C) Copyright 2013 Freescale Semiconductor, Inc.
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
 
 obj-y  := wandboard.o
+obj-$(CONFIG_SPL_BUILD) += spl.o