f36dccef81
Upstream kexec-lite now has support for kexec on POWER9 based machines. Update so this works in simulators and is ready for when real machines are available. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Acked-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
609 B
Makefile
21 lines
609 B
Makefile
################################################################################
|
|
#
|
|
# kexec-lite
|
|
#
|
|
################################################################################
|
|
|
|
KEXEC_LITE_VERSION = 86e45a47e8cc1f598ccfa9b873a23067f4ecc36f
|
|
KEXEC_LITE_SITE = $(call github,antonblanchard,kexec-lite,$(KEXEC_LITE_VERSION))
|
|
KEXEC_LITE_LICENSE = GPLv2+
|
|
KEXEC_LITE_DEPENDENCIES = elfutils dtc
|
|
|
|
define KEXEC_LITE_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
|
endef
|
|
|
|
define KEXEC_LITE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 755 $(@D)/kexec $(TARGET_DIR)/usr/sbin/kexec
|
|
endef
|
|
|
|
$(eval $(generic-package))
|