Makefile 646 B

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