summaryrefslogtreecommitdiffstats
path: root/package/iprutils/iprutils.mk
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-03-12 11:45:57 +0800
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-29 15:53:44 +0100
commit5e3ded0d75b00bb212b373a42851db98b79e28c1 (patch)
tree0b80c1779dc139c8db099cc47054e60f15eaa824 /package/iprutils/iprutils.mk
parent1acff22d5e34a91ed6e2f87312962160612fbd3d (diff)
downloadbuildroot-5e3ded0d75b00bb212b373a42851db98b79e28c1.tar.gz
buildroot-5e3ded0d75b00bb212b373a42851db98b79e28c1.zip
package/iprutils: Add IBM Power RAID utilities
[Thomas: add patch to allow passing CFLAGS from the environment, use TARGET_CONFIGURE_OPTS instead of manually passing CC/LD, add upstream URL in Config.in, use the Makefile install target instead of open-coding the installation in iprutils.mk.] Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iprutils/iprutils.mk')
-rw-r--r--package/iprutils/iprutils.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/iprutils/iprutils.mk b/package/iprutils/iprutils.mk
new file mode 100644
index 0000000000..48934d0af1
--- /dev/null
+++ b/package/iprutils/iprutils.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# iprutils
+#
+################################################################################
+
+IPRUTILS_VERSION = 2.3.15
+IPRUTILS_SITE = http://downloads.sourceforge.net/project/iprdd/iprutils%20for%202.6%20kernels/$(IPRUTILS_VERSION)
+IPRUTILS_SOURCE = iprutils-$(IPRUTILS_VERSION)-src.tgz
+IPRUTILS_DEPENDENCIES = ncurses libsysfs pciutils
+IPRUTILS_LICENSE = Common Public License Version 1.0
+IPRUTILS_LICENSE_FILES = LICENSE
+
+define IPRUTILS_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
+endef
+
+define IPRUTILS_INSTALL_TARGET_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) INSTALL_MOD_PATH=$(TARGET_DIR) -C $(@D) install
+endef
+
+$(eval $(generic-package))
OpenPOWER on IntegriCloud