mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ea469fe620
commit
00152b6a1f
9
package/mcelog/Config.in
Normal file
9
package/mcelog/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_MCELOG
|
||||
bool "mcelog"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
mcelog processes machine checks (in particular memory and CPU hardware
|
||||
errors) on modern x86 Linux systems.
|
||||
|
||||
http://www.mcelog.org/
|
||||
21
package/mcelog/mcelog.mk
Normal file
21
package/mcelog/mcelog.mk
Normal file
@@ -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))
|
||||
Reference in New Issue
Block a user