mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
Added local directory as source of kernel code
Add the option to use a local directory as the source for building the Linux kernel, which can be useful during kernel development. Signed-off-by: Rafal Fabich <rafal.fabich@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
15fed7179a
commit
73da2ff6f7
@@ -9,10 +9,13 @@ LINUX_LICENSE = GPLv2
|
||||
LINUX_LICENSE_FILES = COPYING
|
||||
|
||||
# Compute LINUX_SOURCE and LINUX_SITE from the configuration
|
||||
ifeq ($(LINUX_VERSION),custom)
|
||||
ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y)
|
||||
LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
|
||||
LINUX_SITE = $(patsubst %/,%,$(dir $(LINUX_TARBALL)))
|
||||
LINUX_SOURCE = $(notdir $(LINUX_TARBALL))
|
||||
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_LOCAL),y)
|
||||
LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH))
|
||||
LINUX_SITE_METHOD = local
|
||||
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y)
|
||||
LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
|
||||
LINUX_SITE_METHOD = git
|
||||
|
||||
Reference in New Issue
Block a user