Source-Changes archive

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

Re: CVS commit: src/usr.sbin/installboot



On Thu, Nov 13, 2003 at 08:19:43 +0000, David Laight wrote:

> Module Name:  src
> Committed By: dsl
> Date:         Thu Nov 13 08:19:43 UTC 2003
> 
> Modified Files:
>       src/usr.sbin/installboot: Makefile installboot.8 machines.c
>       src/usr.sbin/installboot/arch: hp300.c
> Removed Files:
>       src/usr.sbin/installboot: hp300_volhdr.h
> 
> Log Message:
> roundup() write of hp300 boot code to a multiplr of the disk sector size.
> and re-instate the hp300 code - seems to work.

Including sys/disklabel.h in a host tool is a very bad idea, because
even though NetBSD's sys/disklabel.h is used, it, in turn, includes
machine/disklabel.h - which doesn't exist if you cross build on some
other system.

So this breaks the cross build for non-NetBSD hosts.

SY, Uwe
-- 
uwe%ptc.spbu.ru@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



Home | Main Index | Thread Index | Old Index