summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.uncmd_spl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.uncmd_spl')
-rw-r--r--scripts/Makefile.uncmd_spl16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl
new file mode 100644
index 0000000000..86c938e1f9
--- /dev/null
+++ b/scripts/Makefile.uncmd_spl
@@ -0,0 +1,16 @@
+# Makefile version of include/config_uncmd_spl.h
+#
+# TODO: Invent a better way
+
+ifdef CONFIG_SPL_BUILD
+CONFIG_OF_CONTROL=
+
+ifndef CONFIG_SPL_DM
+CONFIG_DM_SERIAL=
+CONFIG_DM_GPIO=
+CONIFG_DM_I2C=
+CONFIG_DM_SPI=
+CONFIG_DM_SPI_FLASH=
+endif
+
+endif
OpenPOWER on IntegriCloud