Disappointing dependency introduced in 9.1 (from 8-STABLE)

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Sep 12 05:44:32 UTC 2013


On 12/09/2013 05:53, Michael Sierchio wrote:
> Because I build a lot of embedded devices with serial consoles, I was in
> the habit of hacking /boot/loader by commenting out a line in a Makefile
> that enables terminal emulation
> 
> /sys/boot/i386/libi386/Makefile:
> 
> #CFLAGS+= -DTERM_EMU
> 
> and then in /sys/boot doing a make clean && make
> 
> unfortunately, with 9.X, this breaks the compile.  It seems a dependency
> was introduced which requires the videoconsole code.  I find this extremely
> irritating.  Of course, there's nothing to stop me (at the moment) from
> compiling loader under 8-STABLE and installing it on 9.1 machines, but...
> 
> Is there a better way now to stop the cursor from scribbling illegibly
> across the screen?

Hmmm... normally you should be controlling build options by setting
WITH_FOO style flags in /etc/src.conf, although I can't see anything
obviously relevant in src.conf(5).

Did you raise a PR about this?  Requesting a means to have a loader that
only works via a serial console sounds like something that should be
supported.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 268 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20130912/446a7af5/attachment.sig>


More information about the freebsd-questions mailing list