| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH]MIPS64 RAMDISK in 2.6 |
| From: | Manish Lachwani <mlachwani@mvista.com> |
| Date: | 20 Oct 2004 19:59:23 -0700 |
| Cc: | ralf@linux-mips.org |
| Organization: | |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Hello ! I needed the following patch to get the RAMDISK support working in MIPS64. Tested on the Broadcom SWARM. Please review Thanks Manish Lachwani --- arch/mips/ramdisk/Makefile.orig 2004-10-20 19:40:12.000000000 -0700 +++ arch/mips/ramdisk/Makefile 2004-10-20 19:45:27.000000000 -0700 @@ -5,7 +5,11 @@ obj-y += ramdisk.o +ifndef CONFIG_MIPS64 O_FORMAT = $(shell $(OBJDUMP) -i | head -n 2 | grep elf32) +else +O_FORMAT = $(shell $(OBJDUMP) -i | head -n 15 | grep elf64) +endif img := $(subst ",,$(CONFIG_EMBEDDED_RAMDISK_IMAGE)) # add $(src) when $(img) is relative img := $(subst $(src)//,/,$(src)/$(img)) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH]On PMC Yosemite, get the memory size from PMON, Manish Lachwani |
|---|---|
| Next by Date: | Re: [*VIP*] Re: Strange! Cannot use JFFS2 as root, colin |
| Previous by Thread: | [PATCH]On PMC Yosemite, get the memory size from PMON, Manish Lachwani |
| Next by Thread: | [PATCH]64-bit PMC yosemite support in 2.6, Manish Lachwani |
| Indexes: | [Date] [Thread] [Top] [All Lists] |