Martin Husemann
2012-05-05 10:55:39 UTC
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
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