mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -3,6 +3,7 @@ config BR2_PACKAGE_KEXEC_LITE
|
||||
depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
depends on !BR2_STATIC_LIBS # dtc, elfutils
|
||||
depends on BR2_USE_WCHAR # elfutils
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
|
||||
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
|
||||
select BR2_PACKAGE_ELFUTILS
|
||||
select BR2_PACKAGE_DTC
|
||||
@@ -15,7 +16,10 @@ config BR2_PACKAGE_KEXEC_LITE
|
||||
This package is a tiny implementation of the kexec userspace
|
||||
components, for devicetree-based platforms.
|
||||
|
||||
comment "kexec-lite needs a uClibc or glibc toolchain w/ wchar, dynamic library"
|
||||
https://github.com/antonblanchard/kexec-lite
|
||||
|
||||
comment "kexec-lite needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 2e9b131324cec9d27840179daa35e3159a4032ff78b74e301850faa007567d0e kexec-lite-87d044a895b1c004320a2676099a54a5a2a74f2e.tar.gz
|
||||
sha256 1027c69721e8ee21614273a540e1dd505370d8d814845c0adaf838496105a35d kexec-lite-6b0130b3c1ea489e061cda2805e6f8b68dc96a76.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
|
||||
@@ -4,18 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
KEXEC_LITE_VERSION = 87d044a895b1c004320a2676099a54a5a2a74f2e
|
||||
KEXEC_LITE_VERSION = 6b0130b3c1ea489e061cda2805e6f8b68dc96a76
|
||||
KEXEC_LITE_SITE = $(call github,antonblanchard,kexec-lite,$(KEXEC_LITE_VERSION))
|
||||
KEXEC_LITE_LICENSE = GPL-2.0+
|
||||
KEXEC_LITE_LICENSE_FILES = COPYING
|
||||
KEXEC_LITE_DEPENDENCIES = elfutils dtc
|
||||
KEXEC_LITE_AUTORECONF = YES
|
||||
|
||||
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))
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user