4724b0f9c1
Right now we have all firmware packages under firmware/*. This is problematic for mainly two reasons: - It's not immediately clear which firmware packages we need to keep when forking a new stable branch. (Where we delete testing devices at the moment...) We might end up deleting firmware packages that are actually used by one of the devices in community. - When backporting devices to the stable we cannot just cherry-pick the commit that moved the device to community (since it does not contain the firmware package). Instead we need to cherry-pick earlier commits as well, which may touch a lot of deleted files in the testing directory. Let's make this consistent by also placing the firmware packages in the device/* directory. We already have the common firmware- prefix to distinguish them from device/kernel packages, which are already both under the device/* directory.
27 lines
832 B
Text
27 lines
832 B
Text
pkgname=firmware-asus-me176c-acpi
|
|
pkgver=0_git20190206
|
|
pkgrel=2
|
|
arch="x86_64"
|
|
pkgdesc="Patched ACPI DSDT table for ASUS MeMO Pad 7 (ME176C(X))"
|
|
url="https://github.com/me176c-dev/me176c-acpi"
|
|
license="unknown"
|
|
options="!check !strip !archcheck"
|
|
makedepends="iasl"
|
|
|
|
_commit="9c25272d67965b7bbc03283e333822f02a8f9a9a"
|
|
source="$url/archive/$_commit.tar.gz"
|
|
builddir="$srcdir/me176c-acpi-$_commit"
|
|
|
|
build() {
|
|
iasl dsdt.dsl
|
|
|
|
mkdir -p kernel/firmware/acpi
|
|
cp dsdt.aml kernel/firmware/acpi/dsdt.aml
|
|
echo kernel/firmware/acpi/dsdt.aml | cpio -o -H newc -R 0:0 > acpi.img
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 acpi.img "$pkgdir"/boot/acpi-me176c.img
|
|
}
|
|
|
|
sha512sums="c85db14df9e6d90d3e63f496243d27ee9750b302c1829a678ea51e9070f5e8679ea51e65609a43d8ae359287f713da37ea98df2e39b22e0a7a797bff4c63768d 9c25272d67965b7bbc03283e333822f02a8f9a9a.tar.gz"
|