Source: u-boot
Severity: wishlist
Tags: patch
As far as I known, the removed lines are exactly redundant with what
dh_strip does later anyway.
>From b00bdb981f5a2b77729866df701a51b2f0f8cd32 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <[email protected]>
Date: Sat, 9 Jan 2021 19:07:04 +0100
Subject: Let dh_strip strip tools
There is no need to reimplement the default behaviour.
diff --git a/debian/rules b/debian/rules
index 87abd13f03..de635b87e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -122,11 +122,6 @@ build-tools:
CROSS_BUILD_TOOLS=$(cross_build_tools) \
NO_SDL=1 \
tools-only
- $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment
--remove-section=.note $(TOOLSDIR)/tools/mkimage
- $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment
--remove-section=.note $(TOOLSDIR)/tools/mkenvimage
- $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment
--remove-section=.note $(TOOLSDIR)/tools/kwboot
- $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment
--remove-section=.note $(TOOLSDIR)/tools/mksunxiboot
- $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment
--remove-section=.note $(TOOLSDIR)/tools/dumpimage
override_dh_auto_test:
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))