linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: head -n 2 for ppc64
@ 2003-07-18 14:05 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2003-07-18 14:05 UTC (permalink / raw)
  To: linux-kernel, torvalds

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test1/arch/ppc64/boot/Makefile linux-2.6.0-test1-ac2/arch/ppc64/boot/Makefile
--- linux-2.6.0-test1/arch/ppc64/boot/Makefile	2003-07-10 21:13:37.000000000 +0100
+++ linux-2.6.0-test1-ac2/arch/ppc64/boot/Makefile	2003-07-15 17:24:40.000000000 +0100
@@ -118,7 +118,7 @@
 	ls -l vmlinux | \
 	awk '{printf "/* generated -- do not edit! */\n" \
 		"unsigned long vmlinux_filesize = %d;\n", $$5}' > $(obj)/imagesize.c
-	$(CROSS_COMPILE)nm -n vmlinux | tail -1 | \
+	$(CROSS_COMPILE)nm -n vmlinux | tail -n 1 | \
 	awk '{printf "unsigned long vmlinux_memsize = 0x%s;\n", substr($$1,8)}' \
 		>> $(obj)/imagesize.c
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-18 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18 14:05 PATCH: head -n 2 for ppc64 Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).