[gnome-build-meta/valentindavid/pinebook-pro: 2/16] Add missing firmware for Pinebook Pro



commit 99912f6a6090e9613aa85569c8bf5fef7268e80a
Author: Valentin David <valentin david codethink co uk>
Date:   Tue Apr 14 11:27:35 2020 +0000

    Add missing firmware for Pinebook Pro
    
    We need to verify the license for boards/pinebook-pro/firmware.bst

 elements/boards/pinebook-pro/deps.bst              |  3 +++
 elements/boards/pinebook-pro/firmware.bst          | 23 ++++++++++++++++++++++
 elements/boards/pinebook-pro/initramfs/deps.bst    |  3 +++
 .../boards/pinebook-pro/wireless-regdb-bin.bst     | 13 ++++++++++++
 4 files changed, 42 insertions(+)
---
diff --git a/elements/boards/pinebook-pro/deps.bst b/elements/boards/pinebook-pro/deps.bst
index c1429f91..595d0667 100644
--- a/elements/boards/pinebook-pro/deps.bst
+++ b/elements/boards/pinebook-pro/deps.bst
@@ -36,3 +36,6 @@ runtime-depends:
 # FIXME: Waiting for those to be merged:
 #- freedesktop-sdk.bst:components/linux-firmware.bst
 #- freedesktop-sdk.bst:components/wireless-regdb-bin.bst
+- vm/linux-firmware.bst
+- boards/pinebook-pro/wireless-regdb-bin.bst
+- boards/pinebook-pro/firmware.bst
diff --git a/elements/boards/pinebook-pro/firmware.bst b/elements/boards/pinebook-pro/firmware.bst
new file mode 100644
index 00000000..d675d96d
--- /dev/null
+++ b/elements/boards/pinebook-pro/firmware.bst
@@ -0,0 +1,23 @@
+kind: manual
+
+build-depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+  inst-dir: "%{install-root}%{indep-libdir}/firmware"
+config:
+  install-commands:
+  - install -Dm644 -t "%{inst-dir}/brcm" part-1/brcm/*
+  - install -Dm644 -t "%{inst-dir}/brcm" part-2/BCM4345C5.hcd
+
+sources:
+- kind: git_tag
+  url: https://gitlab.manjaro.org/tsys/pinebook-firmware.git
+  track-tags: false
+  track: bdab4581e1753f7f2f881b4f5b294ee145300406
+  directory: part-1
+- kind: git_tag
+  url: https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware.git
+  track-tags: false
+  track: a30bf312b268eab42d38fab0cc3ed3177895ff5d
+  directory: part-2
diff --git a/elements/boards/pinebook-pro/initramfs/deps.bst b/elements/boards/pinebook-pro/initramfs/deps.bst
index a0da8970..7fed4e12 100644
--- a/elements/boards/pinebook-pro/initramfs/deps.bst
+++ b/elements/boards/pinebook-pro/initramfs/deps.bst
@@ -16,6 +16,9 @@ runtime-depends:
 # FIXME: Waiting for those to be merged:
 #- freedesktop-sdk.bst:components/linux-firmware.bst
 #- freedesktop-sdk.bst:components/wireless-regdb-bin.bst
+- vm/linux-firmware.bst
+- boards/pinebook-pro/wireless-regdb-bin.bst
+- boards/pinebook-pro/firmware.bst
 
 - core-deps/libostree.bst
 - vm/eos-repartition.bst
diff --git a/elements/boards/pinebook-pro/wireless-regdb-bin.bst 
b/elements/boards/pinebook-pro/wireless-regdb-bin.bst
new file mode 100644
index 00000000..620dd442
--- /dev/null
+++ b/elements/boards/pinebook-pro/wireless-regdb-bin.bst
@@ -0,0 +1,13 @@
+kind: manual
+
+sources:
+- kind: git_tag
+  url: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
+  track: master-2019-06-03-0-g49b8d9c09b145c2124184921640fa44f96630afc
+
+build-depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+config:
+  install-commands:
+  - install -Dm644 -t "%{install-root}%{indep-libdir}/firmware" regulatory.{db,bin,db.p7s}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]