diff --git a/Makefile b/Makefile index b4b07e90c969..5d550ad872a7 100644 --- a/Makefile +++ b/Makefile @@ -1744,8 +1744,7 @@ build-dir = $(patsubst %/,%,$(dir $(build-target))) PHONY += / /: ./ -# Make sure the latest headers are built for Documentation -Documentation/ samples/: headers_install +samples/: headers_install %/: prepare FORCE $(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir)