lkml.org 
[lkml]   [2003]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: head -n 2 for ppc64
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.029 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site