Don't remove $(INSTALL_HDR_PATH)/install before headers_install.
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 24 Sep 2006 22:44:57 +0000 (23:44 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 24 Sep 2006 22:44:57 +0000 (23:44 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Makefile

index 7a06c16..80dac02 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -936,7 +936,6 @@ headers_install: include/linux/version.h scripts_basic FORCE
          echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \
          exit 1 ; fi
        $(Q)$(MAKE) $(build)=scripts scripts/unifdef
-       $(Q)rm -rf $(INSTALL_HDR_PATH)/include
        $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include
 
 PHONY += headers_check