kumquat-buildroot/package/kexec-lite/kexec-lite.mk
Stewart Smith d67d5023dd kexec-lite: add KEXEC_LITE_LICENSE_FILES
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-10 14:02:36 +01:00

22 lines
644 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_LICENSE_FILES = COPYING
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))