From: "Luck, Tony" <tony.luck@intel.com>
To: 'Christoph Hellwig' <hch@lst.de>, "Yu, Fenghua" <fenghua.yu@intel.com>
Cc: 'Arnd Bergmann' <arnd@arndb.de>,
'Greg Kroah-Hartman' <gregkh@linuxfoundation.org>,
"'linux-ia64@vger.kernel.org'" <linux-ia64@vger.kernel.org>,
"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: remove sn2, hpsim and ia64 machvecs
Date: Wed, 07 Aug 2019 23:07:37 +0000 [thread overview]
Message-ID: <20190807230737.GA11458@agluck-desk2.amr.corp.intel.com> (raw)
In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F7F4143CB@ORSMSX115.amr.corp.intel.com>
On Wed, Aug 07, 2019 at 01:26:17PM -0700, Luck, Tony wrote:
> Ugh! The rule to do the compression was in arch/ia64/hp/sim/boot/Makefile
> which went away as part of the deletion of hpsim.
This fixes it ... should fold into the patch that dropped the
arch/ia64/hp/sim/boot/Makefile
I just cut/pasted in those cmd_gzip and cmd_objcopy definitions
from elsewhere in the tree. It might be possible to simplify them.
---
arch/ia64/Makefile | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index 6eaa0ffd15ca..e0bb2b6aaa35 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -39,6 +39,12 @@ $(error Sorry, you need a newer version of the assember, one that is built from
ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz)
endif
+quiet_cmd_gzip = GZIP $@
+cmd_gzip = cat $(real-prereqs) | gzip -n -f -9 > $@
+
+quiet_cmd_objcopy = OBJCOPY $@
+cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@
+
KBUILD_CFLAGS += $(cflags-y)
head-y := arch/ia64/kernel/head.o
@@ -57,7 +63,11 @@ compressed: vmlinux.gz
vmlinuz: vmlinux.gz
-vmlinux.gz: vmlinux
+vmlinux.gz: vmlinux.bin FORCE
+ $(call if_changed,gzip)
+
+vmlinux.bin: vmlinux FORCE
+ $(call if_changed,objcopy)
unwcheck: vmlinux
-$(Q)READELF=$(READELF) $(PYTHON) $(srctree)/arch/ia64/scripts/unwcheck.py $<
--
2.20.1
next prev parent reply other threads:[~2019-08-07 23:07 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-07 13:30 RFC: remove sn2, hpsim and ia64 machvecs Christoph Hellwig
2019-08-07 13:30 ` [PATCH 01/29] char: remove the SGI snsc driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 02/29] char: remove the SGI tiocx/mbcs driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 03/29] char/agp: remove the sgi-agp driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 04/29] ide: remove the sgiioc4 driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 05/29] PCI/hotplug: remove the sgi_hotplug driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 06/29] tty/serial: remove the sn_console driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 07/29] tty/serial: remove the ioc4_serial driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 08/29] tty/serial: remove the ioc3_serial driver Christoph Hellwig
2019-08-07 13:30 ` [PATCH 09/29] char/mspec: remove SGI SN2 support Christoph Hellwig
2019-08-07 13:30 ` [PATCH 11/29] qla1280: " Christoph Hellwig
2019-08-07 13:30 ` [PATCH 12/29] qla2xxx: " Christoph Hellwig
2019-08-07 13:30 ` [PATCH 13/29] drivers: remove the SGI SN2 IOC3 base support Christoph Hellwig
2019-08-07 13:30 ` [PATCH 14/29] drivers: remove the SGI SN2 IOC4 " Christoph Hellwig
2019-08-07 13:30 ` [PATCH 16/29] ia64: remove now unused machvec indirections Christoph Hellwig
2019-08-07 13:30 ` [PATCH 17/29] ia64: remove the hpsim platform Christoph Hellwig
2019-08-07 13:30 ` [PATCH 18/29] ia64: remove CONFIG_PCI ifdefs Christoph Hellwig
2019-08-07 13:30 ` [PATCH 19/29] ia64: remove CONFIG_ACPI ifdefs Christoph Hellwig
2019-08-07 13:30 ` [PATCH 20/29] ia64: remove the zx1 swiotlb machvec Christoph Hellwig
2019-08-07 13:30 ` [PATCH 21/29] ia64: remove the SGI UV simulator support Christoph Hellwig
2019-08-07 13:30 ` [PATCH 22/29] ia64: remove the unused sn_coherency_id symbol Christoph Hellwig
2019-08-07 13:30 ` [PATCH 23/29] ia64: rework iommu probing Christoph Hellwig
2019-08-07 13:30 ` [PATCH 24/29] ia64: move the ROOT_DEV setup to common code Christoph Hellwig
2019-08-07 13:30 ` [PATCH 25/29] ia64: move the screen_info " Christoph Hellwig
2019-08-07 13:30 ` [PATCH 26/29] ia64: remove support for machvecs Christoph Hellwig
2019-08-07 13:30 ` [PATCH 27/29] ia64: remove CONFIG_SWIOTLB ifdefs Christoph Hellwig
2019-08-07 13:30 ` [PATCH 28/29] ia64: remove CONFIG_ACPI_NUMA ifdefs Christoph Hellwig
2019-08-07 13:30 ` [PATCH 29/29] genirq: remove the is_affinity_mask_valid hook Christoph Hellwig
2019-08-07 13:35 ` RFC: remove sn2, hpsim and ia64 machvecs John Paul Adrian Glaubitz
2019-08-07 13:44 ` Christoph Hellwig
2019-08-07 18:15 ` Luck, Tony
2019-08-07 20:26 ` Luck, Tony
2019-08-07 23:07 ` Luck, Tony [this message]
2019-08-08 6:51 ` 'Christoph Hellwig'
2019-08-08 18:01 ` Luck, Tony
2019-08-09 14:45 ` 'Christoph Hellwig'
2019-08-13 7:24 ` RFC: remove sn2, hpsim and ia64 machvecs v2 Christoph Hellwig
2019-08-13 7:24 ` [PATCH 01/28] char: remove the SGI snsc driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 02/28] char: remove the SGI tiocx/mbcs driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 03/28] char/agp: remove the sgi-agp driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 04/28] ide: remove the sgiioc4 driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 05/28] PCI/hotplug: remove the sgi_hotplug driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 06/28] tty/serial: remove the sn_console driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 07/28] tty/serial: remove the ioc4_serial driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 08/28] tty/serial: remove the ioc3_serial driver Christoph Hellwig
2019-08-13 7:24 ` [PATCH 09/28] char/mspec: remove SGI SN2 support Christoph Hellwig
2019-08-13 7:24 ` [PATCH 11/28] qla1280: " Christoph Hellwig
2019-08-13 7:24 ` [PATCH 12/28] qla2xxx: " Christoph Hellwig
2019-08-13 7:24 ` [PATCH 13/28] drivers: remove the SGI SN2 IOC3 base support Christoph Hellwig
2019-08-13 7:25 ` [PATCH 14/28] drivers: remove the SGI SN2 IOC4 " Christoph Hellwig
2019-08-13 7:25 ` [PATCH 16/28] ia64: remove now unused machvec indirections Christoph Hellwig
2019-08-13 7:25 ` [PATCH 17/28] ia64: remove the hpsim platform Christoph Hellwig
2019-08-13 7:25 ` [PATCH 18/28] ia64: remove CONFIG_PCI ifdefs Christoph Hellwig
2019-08-13 21:07 ` Vaden, Tom (HPE Server OS Architecture)
2019-08-13 7:25 ` [PATCH 19/28] ia64: remove CONFIG_ACPI ifdefs Christoph Hellwig
2019-08-13 21:07 ` Vaden, Tom (HPE Server OS Architecture)
2019-08-13 7:25 ` [PATCH 20/28] ia64: remove the zx1 swiotlb machvec Christoph Hellwig
2019-08-13 7:25 ` [PATCH 21/28] ia64: remove the SGI UV simulator support Christoph Hellwig
2019-08-13 7:25 ` [PATCH 22/28] ia64: remove the unused sn_coherency_id symbol Christoph Hellwig
2019-08-13 7:25 ` [PATCH 23/28] ia64: rework iommu probing Christoph Hellwig
2019-08-13 7:25 ` [PATCH 24/28] ia64: move the ROOT_DEV setup to common code Christoph Hellwig
2019-08-13 7:25 ` [PATCH 25/28] ia64: move the screen_info " Christoph Hellwig
2019-08-13 7:25 ` [PATCH 26/28] ia64: remove support for machvecs Christoph Hellwig
2019-08-13 7:25 ` [PATCH 27/28] ia64: remove CONFIG_SWIOTLB ifdefs Christoph Hellwig
2019-08-13 7:25 ` [PATCH 28/28] genirq: remove the is_affinity_mask_valid hook Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190807230737.GA11458@agluck-desk2.amr.corp.intel.com \
--to=tony.luck@intel.com \
--cc=arnd@arndb.de \
--cc=fenghua.yu@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=hch@lst.de \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox