l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] iso target for Makefile


From: Alfred M. Szmidt
Subject: Re: [PATCH] iso target for Makefile
Date: Fri, 11 Feb 2005 02:34:19 +0100

   This patch adds a target to the Makefile so that you can just type
   make iso, and get a bootable iso image that you can run in qemu.

Wonderful! But isn't a ISO image a bit overkill when ext2fs (or
whatever) is better suited for this kind of stuff?

Or in other words, would it be possible to generalise your target to
provide both?

   Sorry, but I don't know how to use automake magic to check for
   stage2_eltorito or mkisofs...

That should be in autoconf, not automake.  Checking for mkisofs is
dead easy (AC_CHECK_PROG, see the autoconf manual), for stage2_FOO
you'd have to do some tricks which I'm not sure of what they are
really.  Something like trying if {/usr,/}share/grub/$ARCH/stage2_FOO
--where FOO is the file system that one can build images for--exists
might work.

   I tried using install-strip, but it is broken so I strip the
   binaries after they are installed. :( (install-strip fails on
   wortel/starter, and I don't know how to tell automake to not
   install it. Taking starter out of boot_PROGRAMS causes autoreconf
   to complain loudly, although it still compiles...)

Hurd/L4 is really Marcus' territory, so he better answer this one
since I have no clue whatsoever what kind of blackmagic he has put
into the autoconf/automake scripts. :-)

Happy hacking!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]