comparison core/kmod/kmod.sh @ 817:0e6c54d47dfb

vanilla: fix many FHS issues While here, remove libtool files in a generic manner to avoid stale files.
author David Demelier <markand@malikania.fr>
date Wed, 21 Aug 2019 09:04:13 +0200
parents 4cf99fd03da6
children a133976e0783
comparison
equal deleted inserted replaced
816:be3a5b2d9a09 817:0e6c54d47dfb
63 --prefix= \ 63 --prefix= \
64 $with_xz \ 64 $with_xz \
65 $with_zlib 65 $with_zlib
66 make 66 make
67 make install DESTDIR=$DESTDIR 67 make install DESTDIR=$DESTDIR
68 rm -f $DESTDIR/lib/libkmod.la 68 find $DESTDIR -type f -name "*.la" -delete
69 69
70 # compatibility symlinks like lsmod, rmmod are installed as well. 70 # compatibility symlinks like lsmod, rmmod are installed as well.
71 for tool in lsmod insmod rmmod depmod modinfo modprove; do 71 for tool in lsmod insmod rmmod depmod modinfo modprove; do
72 ln -sf kmod $DESTDIR/bin/$tool 72 ln -sf kmod $DESTDIR/bin/$tool
73 done 73 done