buildkernel: don't know how to make cleandir in drm-current-kmod

Niclas Zeising zeising+freebsd at daemonic.se
Thu Feb 18 06:55:49 UTC 2021


On 2021-02-18 06:32, Ruslan Makhmatkhanov wrote:
> Hello,
> 
> trying to build kernel from
> commit f61e92ca5a23450bc28169bbdd71d7674df98c19 (HEAD -> main, 
> origin/main, origin/HEAD)
> Author: Glen Barber <gjb at FreeBSD.org>
> Date:   Wed Feb 17 23:00:03 2021 -0500
> 
> world built ok, but then I have this on make kernel:
> 
> ===> zlib (cleandir)
> rm -f export_syms machine x86 zlib.ko zlib.kld zcalloc.o zlib_mod.o 
> adler32.o compress.o crc32.o deflate.o inffast.o inflate.o inftrees.o 
> trees.o uncompr.o zutil.o offset.inc genoffset.o
> rm -f machine x86 .depend .depend.* GPATH GRTAGS GSYMS GTAGS
> ===> drm-current-kmod (cleandir)
> make[3]: don't know how to make cleandir. Stop
> 
> make[3]: stopped in /usr/local/sys/modules/drm-current-kmod
> *** Error code 2
> 
> Stop.
> make[2]: stopped in /usr/obj/mnt/hdd/src/amd64.amd64/sys/Z1
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /mnt/hdd/src
> *** Error code 1
> 
> Stop.
> make: stopped in /mnt/hdd/src
> 
> Tried to reinstall drm-current-kmod to not avail.
> 

Can you check that you have the folder 
/usr/local/sys/modules/drm-current-kmod, and that there are sources inside?
drm-current-kmod no longer installs sources by default, please check if 
you have enabled that option locally.
Regards
-- 
Niclas


More information about the freebsd-current mailing list