[hppa,mips*,powerpc*] linux-image: Strip debug symbols from vmlinux (really closes: #837588)
This commit is contained in:
parent
95d8991d55
commit
9067a5df84
|
@ -1,3 +1,10 @@
|
|||
linux (4.7.4-3) UNRELEASED; urgency=medium
|
||||
|
||||
* [hppa,mips*,powerpc*] linux-image: Strip debug symbols from vmlinux
|
||||
(really closes: #837588)
|
||||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Fri, 23 Sep 2016 00:50:40 +0100
|
||||
|
||||
linux (4.7.4-2) unstable; urgency=medium
|
||||
|
||||
* [arm64] Revert "arm64: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO"
|
||||
|
|
|
@ -383,7 +383,12 @@ install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR):
|
|||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs 'boot'
|
||||
ifeq ($(IMAGE_FILE),vmlinux)
|
||||
# This is the unprocessed ELF image, so we need to strip debug symbols
|
||||
$(CROSS_COMPILE)objcopy --strip-debug '$(DIR)/vmlinux' $(INSTALL_DIR)/$(IMAGE_INSTALL_STEM)-$(REAL_VERSION)
|
||||
else
|
||||
install -m644 '$(DIR)/$(IMAGE_FILE)' $(INSTALL_DIR)/$(IMAGE_INSTALL_STEM)-$(REAL_VERSION)
|
||||
endif
|
||||
+$(MAKE_SELF) \
|
||||
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt \
|
||||
DIR='$(DIR)' PACKAGE_DIR='$(PACKAGE_DIR)' REAL_VERSION='$(REAL_VERSION)'
|
||||
|
|
Loading…
Reference in New Issue