summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-25 01:15:14 +0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-25 01:15:14 +0400
commitde78912582bc1f95733d53e0d40779c0cd7b0686 (patch)
treecf7c7872e8e7fb80f4212ff0212a0208fdf43417 /Makefile
parentb4daf69722c49670d355d66439abda5ab5d4c5db (diff)
downloadlinux-de78912582bc1f95733d53e0d40779c0cd7b0686.tar.xz
Use dependencies for 'make headers_install'.
Re-export header files only if either they or their controlling Kbuild file has actually changed. Also allow for similar dependencies with 'headers_check', once we properly create the dependencies for those. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 33074e834e9c..13448d755bb1 100644
--- a/Makefile
+++ b/Makefile
@@ -898,7 +898,6 @@ headers_install: include/linux/version.h
echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \
exit 1 ; fi
$(Q)unifdef -Ux /dev/null
- $(Q)rm -rf $(INSTALL_HDR_PATH)/include
$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include
PHONY += headers_check