2014-06-17 07:21:47 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# kexec-lite
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-11-22 06:36:04 +01:00
|
|
|
KEXEC_LITE_VERSION = 87d044a895b1c004320a2676099a54a5a2a74f2e
|
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))
|