]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - debian/rules.d/2-binary-arch.mk
UBUNTU: [Packaging] retpoline -- clear hint information from packages
[mirror_ubuntu-artful-kernel.git] / debian / rules.d / 2-binary-arch.mk
index e3bb4f4141b3aba02dacb201204b58a53dfe6041..f1874e2f8b4e877ce55b2e76a5010bce5c1a0172 100644 (file)
@@ -315,6 +315,8 @@ endif
        # We'll symlink this stuff
        rm -f $(hdrdir)/Makefile
        rm -rf $(hdrdir)/include2 $(hdrdir)/source
+       # We do not need the retpoline information.
+       find $(hdrdir) -name \*.o.ur-\* | xargs rm
        # Copy over the compilation version.
        cp "$(builddir)/build-$*/include/generated/compile.h" \
                "$(hdrdir)/include/generated/compile.h"