Added linux-firmware
This commit is contained in:
parent
fb90077c58
commit
26f6458750
1 changed files with 21 additions and 0 deletions
21
pkgs/linux-firmware/build.sh
Normal file
21
pkgs/linux-firmware/build.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
pkgname=linux-firmware
|
||||
pkgver=20210208
|
||||
|
||||
fetch() {
|
||||
curl "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20210208.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
echo "Nothing to do"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir FIRMWAREDIR="/lib/firmware"
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENCE.*
|
||||
}
|
Loading…
Reference in a new issue