diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 14:31:25 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:26 +0000 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /import-layers/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.gz blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.zip |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/import-layers/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb new file mode 100644 index 000000000..6dc66ea25 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb @@ -0,0 +1,32 @@ +SUMMARY = "ACPI data gathering library" +DESCRIPTION = "General purpose shared library for programs gathering ACPI data on Linux. \ +Thermal zones, battery infomration, fan information and AC states are implemented." +SECTION = "base" +HOMEPAGE = "http://www.ngolde.de/libacpi.html" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5" +PR = "r6" + +SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \ + file://makefile-fix.patch \ + file://libacpi_fix_for_x32.patch \ + file://use_correct_strip_in_cross_environment.patch \ + file://ldflags.patch " + +SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c" +SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29" + +UPSTREAM_CHECK_URI = "http://www.ngolde.de/libacpi.html" + +inherit lib_package + +COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' + +CFLAGS += "-fPIC" +EXTRA_OEMAKE = '-e MAKEFLAGS= STRIP="echo"' + +TARGET_CC_ARCH += "${LDFLAGS}" + +do_install() { + oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix} +} |