diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-24 17:15:14 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-24 17:15:14 -0400 |
commit | de78912582bc1f95733d53e0d40779c0cd7b0686 (patch) | |
tree | cf7c7872e8e7fb80f4212ff0212a0208fdf43417 /Makefile | |
parent | b4daf69722c49670d355d66439abda5ab5d4c5db (diff) |
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-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -898,7 +898,6 @@ headers_install: include/linux/version.h | |||
898 | echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \ | 898 | echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \ |
899 | exit 1 ; fi | 899 | exit 1 ; fi |
900 | $(Q)unifdef -Ux /dev/null | 900 | $(Q)unifdef -Ux /dev/null |
901 | $(Q)rm -rf $(INSTALL_HDR_PATH)/include | ||
902 | $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include | 901 | $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include |
903 | 902 | ||
904 | PHONY += headers_check | 903 | PHONY += headers_check |