From 0923bd9ca55ab9acdb5cab8cd36639bd635caa68 Mon Sep 17 00:00:00 2001 From: Jacob Stiffler Date: Tue, 2 Feb 2016 03:16:46 +0000 Subject: [PATCH] temperature-module-drv: Smart Reflex Sub-System (SRSS) module driver Signed-off-by: Jacob Stiffler Signed-off-by: Denys Dmytriyenko --- recipes-bsp/dsptop/dsptop_git.bb | 3 ++- .../dsptop/temperature-module-drv_git.bb | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/dsptop/temperature-module-drv_git.bb diff --git a/recipes-bsp/dsptop/dsptop_git.bb b/recipes-bsp/dsptop/dsptop_git.bb index 4b6c729b..121dc9b8 100644 --- a/recipes-bsp/dsptop/dsptop_git.bb +++ b/recipes-bsp/dsptop/dsptop_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979 DEPENDS = "libulm ncurses" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" S = "${WORKDIR}/git/dsptop" @@ -22,6 +22,7 @@ COMPATIBLE_MACHINE = "dra7xx|keystone" PACKAGE_ARCH = "${MACHINE_ARCH}" RDEPENDS_${PN} = "debugss-module-drv" +RDEPENDS_${PN}_append_keystone = " temperature-module-drv" include dsptop.inc diff --git a/recipes-bsp/dsptop/temperature-module-drv_git.bb b/recipes-bsp/dsptop/temperature-module-drv_git.bb new file mode 100644 index 00000000..0bd54c5e --- /dev/null +++ b/recipes-bsp/dsptop/temperature-module-drv_git.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Smart Reflex Sub-System (SRSS) module driver for Keystone devices" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" + +# This package builds a kernel module, use kernel PR as base and append a local +MACHINE_KERNEL_PR_append = "a" +PR = "${MACHINE_KERNEL_PR}" +PV_append = "+git${SRCPV}" + +S = "${WORKDIR}/git/temperature_module/temperature-mod" + +inherit module + +EXTRA_OEMAKE = "KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" + +COMPATIBLE_MACHINE = "keystone" + +include dsptop.inc