diff options
author | Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> | 2013-03-12 08:10:54 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-03-18 22:13:46 +0100 |
commit | f5fca1330ce572bcfcc3d783b34ba1517b9b41b6 (patch) | |
tree | c6f560c77da26555a215b091689a7ce09f411a5c /package/libpfm4 | |
parent | bb83d5b074738352a1f1ba2f26afead6de6bbd4a (diff) | |
download | buildroot-novena-f5fca1330ce572bcfcc3d783b34ba1517b9b41b6.tar.gz buildroot-novena-f5fca1330ce572bcfcc3d783b34ba1517b9b41b6.zip |
libpfm4: new package
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libpfm4')
-rw-r--r-- | package/libpfm4/Config.in | 7 | ||||
-rw-r--r-- | package/libpfm4/libpfm4.mk | 28 |
2 files changed, 35 insertions, 0 deletions
diff --git a/package/libpfm4/Config.in b/package/libpfm4/Config.in new file mode 100644 index 000000000..6b491a405 --- /dev/null +++ b/package/libpfm4/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBPFM4 + bool "libpfm4" + help + A helper library to help encode Performance Events to use with + Operating system kernels performance monitoring interfaces. + + http://perfmon2.sourceforge.net/ diff --git a/package/libpfm4/libpfm4.mk b/package/libpfm4/libpfm4.mk new file mode 100644 index 000000000..8689bbe9e --- /dev/null +++ b/package/libpfm4/libpfm4.mk @@ -0,0 +1,28 @@ +############################################################# +# +# libpfm4 +# +############################################################# + +LIBPFM4_VERSION = 4.3.0 +LIBPFM4_SOURCE = libpfm-$(LIBPFM4_VERSION).tar.gz +LIBPFM4_SITE = http://downloads.sourceforge.net/project/perfmon2/libpfm4 +LIBPFM4_LICENSE = libpfm4 license +LIBPFM4_LICENSE_FILES = COPYING +LIBPFM4_INSTALL_STAGING = YES + +LIBPFM4_FLAGS = SYS=Linux ARCH=$(BR2_ARCH) CC="$(TARGET_CC)" LDCONFIG=true + +define LIBPFM4_BUILD_CMDS + $(MAKE) -C $(@D) $(LIBPFM4_FLAGS) +endef + +define LIBPFM4_INSTALL_STAGING_CMDS + make -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(STAGING_DIR)/usr install +endef + +define LIBPFM4_INSTALL_TARGET_CMDS + make -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(TARGET_DIR)/usr install +endef + +$(eval $(generic-package)) |