Re: 2.5.42 broke ARM zImage/Image

Sam Ravnborg (sam@ravnborg.org)
Tue, 15 Oct 2002 17:22:01 +0200


On Tue, Oct 15, 2002 at 12:22:43AM +0100, Russell King wrote:
> Sam & Kai, lkml and others who join us on this happy day.
>
> So, basically, I'm screwed at the moment, unless someone has anything
> else to suggest.
How about a simple workaround for now:

$(obj)/vmlinux: $(obj)/$(HEAD) $(obj)/piggy.o $(obj)/vmlinux.lds \
$(addprefix $(obj)/, $(OBJS))
cp $(obj)/piggy.o .
$(call if_changed,ld)
rm piggy.o

I onther words just make a temporary copy of piggy.o in current directory.
No changes needed in .lds file.

Untested!

I do not know the linker command language, but I assume there is some
way to do this even with piggy.o located somewhere else than current
directory.

My suggestion is a simple workaround to make the arm kernel compile, not
something I would like to see as a permanent solution.

Sam
-
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/