2014-06-17 07:21:47 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# kexec-lite
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-11-25 03:19:53 +01:00
|
|
|
KEXEC_LITE_VERSION = 86e45a47e8cc1f598ccfa9b873a23067f4ecc36f
|
2014-06-17 07:21:47 +02:00
|
|
|
KEXEC_LITE_SITE = $(call github,antonblanchard,kexec-lite,$(KEXEC_LITE_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
KEXEC_LITE_LICENSE = GPL-2.0+
|
2017-01-10 02:38:16 +01:00
|
|
|
KEXEC_LITE_LICENSE_FILES = COPYING
|
2014-08-28 14:21:33 +02:00
|
|
|
KEXEC_LITE_DEPENDENCIES = elfutils dtc
|
2014-06-17 07:21:47 +02:00
|
|
|
|
|
|
|
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))
|