From: Peter Foley Date: Thu, 25 Sep 2014 18:23:58 +0000 (-0700) Subject: Make Documenation depend on headers_install X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8e2faea877eb24511c8e71b88e803e22c6bf235e;p=openwrt%2Fstaging%2Fblogic.git Make Documenation depend on headers_install Cc: rdunlap@infradead.org Cc: linux-doc@vger.kernel.org Cc: sudeep.dutt@intel.com Cc: nikhil.rao@intel.com Cc: ashutosh.dixit@intel.com Cc: akpm@linux-foundation.org Cc: gregkh@linuxfoundation.org Signed-off-by: Peter Foley Signed-off-by: Jiri Kosina --- diff --git a/Makefile b/Makefile index a192280a883d..994b77b51c45 100644 --- a/Makefile +++ b/Makefile @@ -1532,6 +1532,8 @@ endif $(cmd_crmodverdir) $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ $(build)=$(build-dir) +# Make sure the latest headers are built for Documentation +Documentation/: headers_install %/: prepare scripts FORCE $(cmd_crmodverdir) $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \