milis/talimatname/temel-ek/linux-firmware/talimat

30 lines
689 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: The linux kernel firmware set of files. More and more hardware requires this package
# Depends on: git
name=linux-firmware
version=20150207
release=1
build() {
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git \
firmware
find firmware -name '*.c' \
-or -name '*.h' \
-or -name '*.asm' \
-or -name 'Makefile' \
-or -name 'configure' \
-or -name '*.S' \
-or -name "README" \
-or -name '*.pl' \
-or -name '*.pst' \
-or -name '*.txt' | xargs rm -rv
find firmware \( -type d -and -empty \) | xargs rm -rv
rm -rf firmware/cis/src
rm -rf firmware/usbdux
rm -rf firmware/carl9170fw
rm -rf firmware/.git
mkdir $PKG/lib
cp -a firmware \
$PKG/lib
}