On Fri, Aug 8, 2008 at 5:03 PM, Patrick Georgi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I used cygwin to build grub2/i386-coreboot using an i386-elf cross compiler.
> unfortunately the test in configure only looks for the host platform and
> enables pe2elf in that case, even though my compiler emits ELF already.
>
> my workaround is to just change that test (there's no OS cyg_win), but of
> course that's no permanent solution.
> Bean proposed on IRC to look if the target compiler emits PE, and enable
> pe2elf based on that.

Hi,

Yes, we can solve this with script. Another way is to do some test in
grub-pe2elf. If the image is already elf, it does nothing and return
true. This should fix the problem as well.

-- 
Bean


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to