Messages in this thread Patch in this message | | | Date | Fri, 18 Jul 2003 15:05:35 +0100 | From | Alan Cox <> | Subject | PATCH: 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/
| |