Makefile 642 B

12345678910111213141516171819202122
  1. # SPDX-License-Identifier: GPL-2.0
  2. ###
  3. # scripts contains sources for various helper programs used throughout
  4. # the kernel for the build process.
  5. # ---------------------------------------------------------------------------
  6. # docproc: Used in Documentation/DocBook
  7. hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
  8. always := $(hostprogs-y)
  9. # The following hostprogs-y programs are only build on demand
  10. hostprogs-y += docproc
  11. # These targets are used internally to avoid "is up to date" messages
  12. PHONY += build_docproc
  13. build_docproc: $(obj)/docproc
  14. @:
  15. # Let clean descend into subdirs
  16. subdir- += basic kconfig
  17. subdir-$(CONFIG_DTC) += dtc