depot/third_party/nixpkgs/pkgs/os-specific/linux/klibc/no-reinstall-kernel-headers.patch

13 lines
563 B
Diff
Raw Normal View History

diff --git a/scripts/Kbuild.install b/scripts/Kbuild.install
index 0788637f..6708e19f 100644
--- a/scripts/Kbuild.install
+++ b/scripts/Kbuild.install
@@ -102,7 +102,6 @@ header:
$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include
$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib
$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin
- $(Q)cp -rfL $(KLIBCKERNELSRC)/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/.
ifneq ($(srctree),$(objtree))
$(Q)cp -rf $(srctree)/usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/.
endif