Discussion:
Build broken
Martin Husemann
2012-05-05 10:55:39 UTC
Permalink
The sun3 build is broken and I'm not sure how to fix it:

There is a

include "dev/sun/files.sun"

missing in src/sys/arch/sun3/conf/files.sun3, which causes the opt_sunkbd.h
file to not be generated.

The most simple fix is to add something like

defflag opt_sunkbd.h SPARCBOOK_CMD

to that files instead (even if never used, it will restore the previous
working status).

Most clean fix probably is to add the missing include, but that is not straight
forward due to the zsevent dependency - somone who understands sun3 console/zs
could have a look at that.

Another possible hack would be to #ifdef the include of otp_sunkbd.h ifndef
sun3 in sys/dev/sun/kbd.c.

I would suggest to do the first (with a proper comment), but would like to
give somebody (tm) a chance to instead implement the second option.


Martin
Manuel Bouyer
2012-05-13 20:44:07 UTC
Permalink
Post by Martin Husemann
There is a
include "dev/sun/files.sun"
missing in src/sys/arch/sun3/conf/files.sun3, which causes the opt_sunkbd.h
file to not be generated.
The most simple fix is to add something like
defflag opt_sunkbd.h SPARCBOOK_CMD
to that files instead (even if never used, it will restore the previous
working status).
Most clean fix probably is to add the missing include, but that is not straight
forward due to the zsevent dependency - somone who understands sun3 console/zs
could have a look at that.
Another possible hack would be to #ifdef the include of otp_sunkbd.h ifndef
sun3 in sys/dev/sun/kbd.c.
I would suggest to do the first (with a proper comment), but would like to
give somebody (tm) a chance to instead implement the second option.
Hello,
I just did a build.sh -m sun3 release and it completed. Did you fix
this problem ?
--
Manuel Bouyer <***@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
Martin Husemann
2012-05-13 22:37:07 UTC
Permalink
Post by Manuel Bouyer
Hello,
I just did a build.sh -m sun3 release and it completed. Did you fix
this problem ?
Michael fixed it, using the easy way out.

Martin
Manuel Bouyer
2012-05-14 08:59:08 UTC
Permalink
Post by Martin Husemann
Post by Manuel Bouyer
Hello,
I just did a build.sh -m sun3 release and it completed. Did you fix
this problem ?
Michael fixed it, using the easy way out.
OK, thanks
--
Manuel Bouyer <***@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
Loading...