cleanup firmware

This commit is contained in:
Tobias Powalowski 2023-05-03 07:19:30 +02:00
parent e90fcb1fc8
commit b0c6a6acd0

View file

@ -6,6 +6,10 @@ build ()
{
# add firmware files and licenses
map add_full_dir "/lib/firmware" "/usr/share/licenses/linux-firmware"
# remove not used firmware
rm -rf ${BUILDROOT}/lib/firmware/{v4l*,dvb*,bnx2,cxgb*,sb16,yamaha}
find ${BUILDROOT}/lib/firmware -type f -name "*txt*" -exec rm {} \;
find ${BUILDROOT}/lib/firmware -type f -name "*README*" -exec rm {} \;
}
help ()