diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb')
-rw-r--r-- | yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb new file mode 100644 index 000000000..bf302f3ce --- /dev/null +++ b/yocto-poky/meta/recipes-bsp/libacpi/libacpi_0.2.bb @@ -0,0 +1,30 @@ +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" + +inherit lib_package + +COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' + +CFLAGS += "-fPIC" +EXTRA_OEMAKE += 'STRIP="echo"' + +TARGET_CC_ARCH += "${LDFLAGS}" + +do_install() { + oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix} +} |