Kconfig: Add CONFIG_SATA to enable SATA
[oweals/u-boot.git] / scripts / Makefile
index ebbadc9ba2da548336afe1a97b730430dd91093f..3e10c16d59fd1a06d2fc2700adb3ac81e3d18bfb 100644 (file)
@@ -1,2 +1,23 @@
+###
+# scripts contains sources for various helper programs used throughout
+# the kernel for the build process.
+# ---------------------------------------------------------------------------
+# docproc:       Used in Documentation/DocBook
+#
+# SPDX-License-Identifier:     GPL-2.0
+#
+
+hostprogs-$(CONFIG_BUILD_BIN2C)                += bin2c
+
+always         := $(hostprogs-y)
+
+# The following hostprogs-y programs are only build on demand
+hostprogs-y += docproc
+
+# These targets are used internally to avoid "is up to date" messages
+PHONY += build_docproc
+build_docproc: $(obj)/docproc
+       @:
+
 # Let clean descend into subdirs
-subdir-        += basic
+subdir-        += basic kconfig