aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux-firmware/amdgpu-firmware.bb
blob: 2ae35e02164e6c8207eb47f5dabefdb5f74d0d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "These binaries provide kernel support for newer AMD GPUs"
SECTION = "kernel"
LICENSE = "Firmware-amd"

SRC_URI = "file://raven_me.bin file://raven_pfp.bin file://raven_vcn.bin \
           file://raven_ce.bin file://raven_mec2.bin file://raven_rlc.bin \
           file://raven_gpu_info.bin file://raven_mec.bin file://raven_sdma.bin \
           file://raven_asd.bin file://LICENSE \
	  "

LIC_FILES_CHKSUM = "file://LICENSE;md5=07b0c31777bd686d8e1609c6940b5e74"

S = "${WORKDIR}"

# Since, no binaries are generated for a specific target,
# inherit allarch to simply populate prebuilt binaries
inherit allarch

do_compile() {
	:
}

do_install() {
	install -v -m 444 -D ${S}/LICENSE ${D}/lib/firmware/amdgpu/LICENSE
	install -v -m 0644 ${S}/*.bin ${D}/lib/firmware/amdgpu
}

FILES_${PN} = "/lib/firmware/*"