2014-06-17 07:21:47 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# kexec-lite
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-29 13:53:17 +01:00
|
|
|
KEXEC_LITE_VERSION = 783fb4a811d0b0f8cc2ed68fa7872dcad56a3944
|
2014-06-17 07:21:47 +02:00
|
|
|
KEXEC_LITE_SITE = $(call github,antonblanchard,kexec-lite,$(KEXEC_LITE_VERSION))
|
|
|
|
KEXEC_LITE_LICENSE = GPLv2+
|
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))
|