mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
toolchain-external: allow specifying binaries relative path
This commit is contained in:
parent
39e565c228
commit
7e6dee582a
@ -77,7 +77,7 @@ ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),)
|
|||||||
TOOLCHAIN_EXTERNAL_BIN := $(dir $(shell which $(TOOLCHAIN_EXTERNAL_PREFIX)-gcc))
|
TOOLCHAIN_EXTERNAL_BIN := $(dir $(shell which $(TOOLCHAIN_EXTERNAL_PREFIX)-gcc))
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
TOOLCHAIN_EXTERNAL_BIN := $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/bin
|
TOOLCHAIN_EXTERNAL_BIN := $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_BIN_PATH))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If this is a buildroot toolchain, it already has a wrapper which we want to
|
# If this is a buildroot toolchain, it already has a wrapper which we want to
|
||||||
|
@ -12,6 +12,14 @@ config BR2_TOOLCHAIN_EXTERNAL_URL
|
|||||||
help
|
help
|
||||||
URL of the custom toolchain tarball to download and install.
|
URL of the custom toolchain tarball to download and install.
|
||||||
|
|
||||||
|
config BR2_TOOLCHAIN_EXTERNAL_BIN_PATH
|
||||||
|
string "Toolchain bin path"
|
||||||
|
default "/bin"
|
||||||
|
depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
|
||||||
|
help
|
||||||
|
Path to where the binaries (e.g. the compiler) can be found,
|
||||||
|
relative to the downloaded toolchain root directory.
|
||||||
|
|
||||||
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
|
||||||
string "Toolchain prefix"
|
string "Toolchain prefix"
|
||||||
default "$(ARCH)-linux"
|
default "$(ARCH)-linux"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user