meta-digi-arm: Use an append file for libz160.

Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2012-11-27 16:06:16 +01:00
parent 18b6d5ddf6
commit 22e5226f38
2 changed files with 4 additions and 30 deletions

View File

@ -1,30 +0,0 @@
# Copyright (C) 2011, 2012 Freescale
# Copyright (C) 2012 Digi International
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "AMD libz160 gpu driver"
LICENSE = "Proprietary"
SECTION = "libs"
PR = "r2"
#todo: Replace for correct AMD license
LIC_FILES_CHKSUM = "file://usr/include/z160.h;endline=28;md5=65dd44cd769091092f38e34cd52cc271"
SRC_URI = "${DIGI_LOG_MIRROR}/libz160-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}"

View File

@ -0,0 +1,4 @@
# Copyright (C) 2012 Digi International
PR_append = "+digi.0"
SRC_URI = "${DIGI_LOG_MIRROR}/libz160-bin-${PV}.tar.gz"