aboutsummaryrefslogtreecommitdiff
path: root/package/mcelog/mcelog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mcelog/mcelog.mk')
-rw-r--r--package/mcelog/mcelog.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mcelog/mcelog.mk b/package/mcelog/mcelog.mk
new file mode 100644
index 0000000000..da338baceb
--- /dev/null
+++ b/package/mcelog/mcelog.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# mcelog
+#
+################################################################################
+
+MCELOG_VERSION = v105
+MCELOG_SITE = $(BR2_KERNEL_MIRROR)/scm/utils/cpu/mce/mcelog.git
+MCELOG_SITE_METHOD = git
+MCELOG_LICENSE = GPLv2
+MCELOG_LICENSE_FILES = README
+
+define MCELOG_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
+endef
+
+define MCELOG_INSTALL_TARGET_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install
+endef
+
+$(eval $(generic-package))