[artful/retpoline-hints 1/3] UBUNTU: [Packaging] retpoline hints -- handle missing files when RETPOLINE not enabled
Andy Whitcroft
apw at canonical.com
Tue Apr 3 16:52:41 UTC 2018
BugLink: http://bugs.launchpad.net/bugs/1758856
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index f1874e2f8b4e..6a570ab22f24 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -316,7 +316,7 @@ endif
rm -f $(hdrdir)/Makefile
rm -rf $(hdrdir)/include2 $(hdrdir)/source
# We do not need the retpoline information.
- find $(hdrdir) -name \*.o.ur-\* | xargs rm
+ find $(hdrdir) -name \*.o.ur-\* | xargs rm -f
# Copy over the compilation version.
cp "$(builddir)/build-$*/include/generated/compile.h" \
"$(hdrdir)/include/generated/compile.h"
--
2.15.1
More information about the kernel-team
mailing list