mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
- store uClibc's configfile as BR2_UCLIBC_CONFIG in menuconfig
This commit is contained in:
parent
beca59b090
commit
1f020bb491
@ -14,8 +14,12 @@ choice
|
|||||||
bool "uClibc 0.9.28"
|
bool "uClibc 0.9.28"
|
||||||
|
|
||||||
config BR2_UCLIBC_VERSION_0_9_28_3
|
config BR2_UCLIBC_VERSION_0_9_28_3
|
||||||
|
depends BR2_DEPRECATED
|
||||||
bool "uClibc 0.9.28.3"
|
bool "uClibc 0.9.28.3"
|
||||||
|
|
||||||
|
config BR2_UCLIBC_VERSION_0_9_29
|
||||||
|
bool "uClibc 0.9.29"
|
||||||
|
|
||||||
config BR2_UCLIBC_VERSION_SNAPSHOT
|
config BR2_UCLIBC_VERSION_SNAPSHOT
|
||||||
bool "daily snapshot"
|
bool "daily snapshot"
|
||||||
|
|
||||||
@ -29,6 +33,19 @@ config BR2_USE_UCLIBC_SNAPSHOT
|
|||||||
help
|
help
|
||||||
Use latest snapshot or one from a specific date?
|
Use latest snapshot or one from a specific date?
|
||||||
|
|
||||||
|
config BR2_UCLIBC_CONFIG
|
||||||
|
string "uClibc configuration file to use?"
|
||||||
|
default "toolchain/uClibc/uClibc-0.9.28.config" if BR2_UCLIBC_VERSION_0_9_28
|
||||||
|
default "toolchain/uClibc/uClibc-0.9.28.config" if BR2_UCLIBC_VERSION_0_9_28_3
|
||||||
|
default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_29
|
||||||
|
default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_30
|
||||||
|
default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_SNAPSHOT
|
||||||
|
help
|
||||||
|
Some people may wish to use their own modified uClibc configuration
|
||||||
|
file and will specify their config file location with this option.
|
||||||
|
See also docs/README in this package.
|
||||||
|
If unsure, use the default.
|
||||||
|
|
||||||
config BR2_ENABLE_LOCALE
|
config BR2_ENABLE_LOCALE
|
||||||
bool "Enable locale/gettext/i18n support?"
|
bool "Enable locale/gettext/i18n support?"
|
||||||
default n
|
default n
|
||||||
|
@ -6,6 +6,13 @@
|
|||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||||
|
|
||||||
|
# specifying UCLIBC_CONFIG_FILE on the command-line overrides the .config
|
||||||
|
# setting.
|
||||||
|
ifndef UCLIBC_CONFIG_FILE
|
||||||
|
UCLIBC_CONFIG_FILE=$(subst ",, $(strip $(BR2_UCLIBC_CONFIG)))
|
||||||
|
#")
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
|
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
|
||||||
# Be aware that this changes daily....
|
# Be aware that this changes daily....
|
||||||
UCLIBC_VER:=0.9.29
|
UCLIBC_VER:=0.9.29
|
||||||
@ -13,22 +20,21 @@ UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc
|
|||||||
UCLIBC_SOURCE:=uClibc-$(strip $(subst ",, $(BR2_USE_UCLIBC_SNAPSHOT))).tar.bz2
|
UCLIBC_SOURCE:=uClibc-$(strip $(subst ",, $(BR2_USE_UCLIBC_SNAPSHOT))).tar.bz2
|
||||||
#"))
|
#"))
|
||||||
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
|
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
|
||||||
ifndef UCLIBC_CONFIG_FILE
|
|
||||||
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.29.config
|
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
|
# releases
|
||||||
|
ifeq ($(BR2_UCLIBC_VERSION_0_9_29),y)
|
||||||
|
UCLIBC_VER:=0.9.29
|
||||||
|
endif
|
||||||
ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
|
ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
|
||||||
UCLIBC_VER:=0.9.28.3
|
UCLIBC_VER:=0.9.28.3
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_UCLIBC_VERSION_0_9_28),y)
|
ifeq ($(BR2_UCLIBC_VERSION_0_9_28),y)
|
||||||
UCLIBC_VER:=0.9.28
|
UCLIBC_VER:=0.9.28
|
||||||
endif
|
endif
|
||||||
|
|
||||||
UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)
|
UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)
|
||||||
UCLIBC_SOURCE:=uClibc-$(UCLIBC_VER).tar.bz2
|
UCLIBC_SOURCE:=uClibc-$(UCLIBC_VER).tar.bz2
|
||||||
UCLIBC_SITE:=http://www.uclibc.org/downloads
|
UCLIBC_SITE:=http://www.uclibc.org/downloads
|
||||||
ifndef UCLIBC_CONFIG_FILE
|
|
||||||
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.28.config
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
UCLIBC_CAT:=$(BZCAT)
|
UCLIBC_CAT:=$(BZCAT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user