]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - scripts/Makefile.uncmd_spl
kconfig: switch to single .config configuration
[people/ms/u-boot.git] / scripts / Makefile.uncmd_spl
diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl
new file mode 100644 (file)
index 0000000..86c938e
--- /dev/null
@@ -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