buildrootschalter/package/mcelog/mcelog.mk
Romain Naour 00152b6a1f mcelog: new package
[Thomas:
  - use "make install", which allows to remove the custom installation
    logic in mcelog.mk.
  - no need to explicitly pass CFLAGS and CPPFLAGS when doing the
    build, since those definitions are already part of
    $(TARGET_CONFIGURE_OPTS).]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-22 18:43:01 +01:00

22 lines
561 B
Makefile

################################################################################
#
# 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))