build in /sys/modules broken / other way of building 1 specific
module
John Baldwin
jhb at freebsd.org
Wed Jan 28 12:41:14 PST 2009
On Wednesday 28 January 2009 4:29:40 am Nick Hibma wrote:
> Folks,
>
> I am not quite sure as to what its status is (and dfr politely explained
> that I was being wereold-fashioned), but the build in /sys/modules is
> broken at the moment. Doing
>
> cd /sys/modules
> sudo make
>
> does not work due to missing opt_hwpmc_hooks.h files required by the build
> of genassym.
>
> The patch below fixes this (creating empty opt_hwpmc_hooks.h files, any
> objections?), but I
> was wondering whether there is another way for building 1 specific module
> instead of having to wait for 100+ modules to build after typing in
>
> cd /sys/i386/compile/HILDE/
> make -DNO_MODULES_OBJ modules
I still build modules this way a lot. Go ahead and commit the patch.
--
John Baldwin
More information about the freebsd-current
mailing list