tech-pkg archive

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

packaging kernel modules



Building (netbsd) kernel modules in pkgsrc hasn't ever really worked,
as far as I can remember. This came up today and it turned out that
the failure case that was supposed to remind us to eventually do
something about it (mppe-lkm) was deleted in July.

So, probably, something should be done about it.

Given that building kernel modules requires a base kernel tree and
that this is not going to change anytime soon, as far as I know there
are two pkgsrc problems: first, figuring out where to find such a
tree, and second, getting it buildlinked correctly. The former seems
like there's not much to it besides picking the name of a config
variable; the latter... my recollection is that it's possible to drop
in custom buildlink farms, but I forget how or what to look for to
find out how.

Suggestions?

(Also, since building kernel frobs requires -nostdinc, does anything
bad happen if one tries to add that to CFLAGS?)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index