198a7f1bbc
aer-inject allows to inject PCIE AER errors on the software level into a running Linux kernel. This is intended for validation of the PCIE driver error recovery handler and PCIE AER core handler. Signed-off-by: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br> [Thomas: - tweak commit log - rewrap Config.in help text - remove useless AER_INJECT_MAKE_OPTS variable, use TARGET_CONFIGURE_OPTS directly - add missing newline at end of .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
751 B
Makefile
24 lines
751 B
Makefile
################################################################################
|
|
#
|
|
# aer-inject
|
|
#
|
|
################################################################################
|
|
|
|
AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41
|
|
AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git
|
|
AER_INJECT_SITE_METHOD = git
|
|
AER_INJECT_LICENSE = GPLv2
|
|
AER_INJECT_LICENSE_FILES = README
|
|
AER_INJECT_DEPENDENCIES = host-flex host-bison
|
|
|
|
define AER_INJECT_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
|
endef
|
|
|
|
define AER_INJECT_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
|
DESTDIR=$(TARGET_DIR) PREFIX=/usr/bin install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|