aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb
blob: b2cfb2d2acce8fde941b7256778f544c6c0ed43e (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
29
# Copyright (C) 2011 Freescale
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "AMD libz160 gpu driver"
LICENSE = "MIT"
SECTION = "libs"
PR = "r1"

#todo: Replace for correct AMD license
LIC_FILES_CHKSUM = "file://usr/include/z160.h;endline=28;md5=65dd44cd769091092f38e34cd52cc271"

SRC_URI = "file://${PN}-bin-${PV}.tar.gz"
SRC_URI[md5sum] = "49b6d51e2ea6651107b08f43715c8c2e"
SRC_URI[sha256sum] = "43b1bebb2656d0c868c10f66ddc064c6324b74694daedfb3f542f93f438232c5"

do_install () {
    install -d ${D}${libdir}
    install -d ${D}${includedir}
    install -m 0755 ${S}/usr/lib/* ${D}${libdir}
    install -m 0644 ${S}/usr/include/* ${D}${includedir}
}

S = "${WORKDIR}/${PN}-bin-${PV}"

# Avoid QA Issue: No GNU_HASH in the elf binary
INSANE_SKIP_${PN} = "ldflags"
INSANE_SKIP_${PN}-dev = "ldflags"
FILES_${PN} = "${libdir}/*.so"
FILES_${PN}-dev = "${includedir}"