mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
toolchain: update gcc snapshot version
* Make mpc mandatory since we are probably building bleeding-edge * Change snapshot naming convention to match the source Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
28cdaaee52
commit
1db3939ad9
@ -45,11 +45,17 @@ config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
|
|||||||
|
|
||||||
config BR2_GCC_SNAP_DATE
|
config BR2_GCC_SNAP_DATE
|
||||||
string "GCC snapshot date"
|
string "GCC snapshot date"
|
||||||
default "20070921"
|
default "4.7-20110430"
|
||||||
depends on BR2_GCC_VERSION_SNAP
|
depends on BR2_GCC_VERSION_SNAP
|
||||||
help
|
help
|
||||||
Enter snapshot date to use for gcc. Format is:
|
Enter snapshot date to use for gcc.
|
||||||
YYYYMMDD
|
Format is: A.B-YYYYMMDD
|
||||||
|
|
||||||
|
A is GCC major version, for example 4.
|
||||||
|
B is GCC minor version, for example 7.
|
||||||
|
YYYYMMDD is snapshot date, for example 20110430.
|
||||||
|
|
||||||
|
This way we'd get version 4.7-20110430
|
||||||
|
|
||||||
config BR2_GCC_VERSION
|
config BR2_GCC_VERSION
|
||||||
string
|
string
|
||||||
|
@ -3,7 +3,7 @@ config BR2_PACKAGE_GCC_TARGET
|
|||||||
depends on BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT
|
depends on BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT
|
||||||
select BR2_PACKAGE_BINUTILS
|
select BR2_PACKAGE_BINUTILS
|
||||||
select BR2_PACKAGE_BINUTILS_TARGET
|
select BR2_PACKAGE_BINUTILS_TARGET
|
||||||
select BR2_PACKAGE_MPC if (BR2_GCC_VERSION_4_5_X || BR2_GCC_VERSION_4_6_X)
|
select BR2_PACKAGE_MPC if (BR2_GCC_VERSION_4_5_X || BR2_GCC_VERSION_4_6_X || BR2_GCC_VERSION_SNAP)
|
||||||
select BR2_PACKAGE_MPFR
|
select BR2_PACKAGE_MPFR
|
||||||
select BR2_PACKAGE_GMP
|
select BR2_PACKAGE_GMP
|
||||||
help
|
help
|
||||||
|
@ -141,6 +141,17 @@ endif
|
|||||||
GCC_HOST_PREREQ += host-mpc
|
GCC_HOST_PREREQ += host-mpc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# GCC snapshot prerequisites
|
||||||
|
# Since we don't know and it can be quite new just ask for everything known
|
||||||
|
ifneq ($(GCC_SNAP_DATE),)
|
||||||
|
GCC_WITH_HOST_MPC = --with-mpc=$(HOST_DIR)/usr
|
||||||
|
GCC_TARGET_PREREQ += mpc
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||||
|
HOST_SOURCE += host-mpc-source
|
||||||
|
endif
|
||||||
|
GCC_HOST_PREREQ += host-mpc
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
|
ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
|
||||||
GCC_SHARED_LIBGCC:=--enable-shared
|
GCC_SHARED_LIBGCC:=--enable-shared
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user