From 5cf873f4997142238e3a47a532be9410b9a3fee9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 22:22:53 +0200 Subject: [PATCH] Add binary-only package for sbts2050-util sbts2050-util is a small binary-only userspace program used to interface with the sysmoBTS 2050 board management controller, i.e. to enable/disable PA power, read power consumption/temperature and the like. This tool is going to disappear once the respective features have been included in the (open source) sysmobts-util / sysmobts-mgr. Please be patient meanwhile. --- recipes-sysmobts/sbts2050-util/sbts2050-util.inc | 15 +++++++++++++++ .../sbts2050-util/sbts2050-util_2.3.bb | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 recipes-sysmobts/sbts2050-util/sbts2050-util.inc create mode 100644 recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util.inc b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc new file mode 100644 index 0000000..de1229f --- /dev/null +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "sysmocom sysmoBTS 2050 board management utility" +SECTION = "kernel" +LICENSE = "CLOSED" + +SRC_URI = "file://sbts2050-util-${FIRMWARE-VERSION}.tar.bz2" +S = "${WORKDIR}/sbts2050-util-${FIRMWARE-VERSION}" + +INC_PR = "1" + +do_compile() { + : +} + +COMPATIBLE_MACHINE = "sysmobts-2050" +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb new file mode 100644 index 0000000..5be840d --- /dev/null +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb @@ -0,0 +1,12 @@ +FIRMWARE-VERSION = "${PV}" +PR = "r1.${INC_PR}" + +require ${PN}.inc + +do_install() { + install -d ${D}/usr/bin + + install -m 0666 ${S}/sbts2050-util ${D}/usr/bin/sbts2050-util +} + +FILES_${PN} = "/usr/bin/sbts2050-util"