]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - scripts/Makefile.lib
Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / scripts / Makefile.lib
index 179d55af58529c911228b59562a86a5a5dd29af1..3fa32f83b2d74c05a71ebb2fdc0a426471637875 100644 (file)
@@ -65,20 +65,6 @@ extra-y += $(patsubst %.dtb,%.dt.yaml, $(dtb-y))
 extra-$(CONFIG_OF_ALL_DTBS) += $(patsubst %.dtb,%.dt.yaml, $(dtb-))
 endif
 
-# Test self-contained headers
-
-# Wildcard searches in $(srctree)/$(src)/, but not in $(objtree)/$(obj)/.
-# Stale generated headers are often left over, so pattern matching should
-# be avoided. Please notice $(srctree)/$(src)/ and $(objtree)/$(obj) point
-# to the same location for in-tree building. So, header-test-pattern-y should
-# be used with care.
-header-test-y  += $(filter-out $(header-test-), \
-               $(patsubst $(srctree)/$(src)/%, %, \
-               $(wildcard $(addprefix $(srctree)/$(src)/, \
-               $(header-test-pattern-y)))))
-
-extra-$(CONFIG_HEADER_TEST) += $(addsuffix .s, $(header-test-y) $(header-test-m))
-
 # Add subdir path
 
 extra-y                := $(addprefix $(obj)/,$(extra-y))