mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
toolchain: kernel-headers: kernel Git tree mirror hash
Allow setting of mirror hash for Git kernel tree. Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
bb7ba6b6a8
commit
796d51834c
@ -107,6 +107,11 @@ menuconfig DEVEL
|
|||||||
It can be a git hash or a branch name.
|
It can be a git hash or a branch name.
|
||||||
If unused, the clone's repository HEAD will be checked-out.
|
If unused, the clone's repository HEAD will be checked-out.
|
||||||
|
|
||||||
|
config KERNEL_GIT_MIRROR_HASH
|
||||||
|
string "Enter hash of Git kernel tree source checkout tarball" if DEVEL
|
||||||
|
depends on (KERNEL_GIT_CLONE_URI != "")
|
||||||
|
default ""
|
||||||
|
|
||||||
config BUILD_LOG
|
config BUILD_LOG
|
||||||
bool "Enable log files during build process" if DEVEL
|
bool "Enable log files during build process" if DEVEL
|
||||||
help
|
help
|
||||||
|
@ -21,6 +21,7 @@ ifneq ($(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
|
|||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI))
|
PKG_SOURCE_URL:=$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI))
|
||||||
PKG_SOURCE_VERSION:=$(call qstrip,$(CONFIG_KERNEL_GIT_REF))
|
PKG_SOURCE_VERSION:=$(call qstrip,$(CONFIG_KERNEL_GIT_REF))
|
||||||
|
PKG_MIRROR_HASH:=$(call qstrip,$(CONFIG_KERNEL_GIT_MIRROR_HASH))
|
||||||
ifdef CHECK
|
ifdef CHECK
|
||||||
include $(INCLUDE_DIR)/kernel-version.mk
|
include $(INCLUDE_DIR)/kernel-version.mk
|
||||||
PKG_VERSION:=$(LINUX_VERSION)
|
PKG_VERSION:=$(LINUX_VERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user