Browse Source

- hd2: update gcc (linaro-6.3-2017.02)

master
gixxpunk 7 years ago
parent
commit
4126418af2
  1. 33
      archive-configs/ct-ng-coolstream_hd2.config
  2. 2
      make/crosstool.mk
  3. 5
      make/environment.mk
  4. 6
      make/static.mk
  5. 2
      skel-root/coolstream/hd2-kronos/etc/init.d/stb_update.data
  6. BIN
      skel-root/coolstream/hd2-kronos/var/update/vmlinux.ub.gz
  7. 2
      skel-root/coolstream/hd2/etc/init.d/stb_update.data
  8. BIN
      skel-root/coolstream/hd2/var/update/vmlinux.ub.gz

33
archive-configs/ct-ng-coolstream_hd2.config

@ -298,6 +298,7 @@ CT_BINUTILS_FOR_TARGET_BFD=y
#
CT_LIBC="uClibc"
CT_LIBC_VERSION="1.0.24"
# CT_LIBC_bionic is not set
# CT_LIBC_glibc is not set
# CT_LIBC_musl is not set
CT_LIBC_uClibc=y
@ -358,23 +359,26 @@ CT_CC_CORE_PASS_1_NEEDED=y
CT_CC_CORE_PASS_2_NEEDED=y
CT_CC_gcc=y
# CT_CC_GCC_CUSTOM is not set
CT_CC_GCC_VERSION="linaro-4.9-2017.01"
CT_CC_GCC_VERSION="linaro-6.3-2017.02"
CT_CC_GCC_SHOW_LINARO=y
# CT_CC_GCC_V_7_1_0 is not set
# CT_CC_GCC_V_linaro_6_3 is not set
CT_CC_GCC_V_linaro_6_3=y
# CT_CC_GCC_V_6_3_0 is not set
# CT_CC_GCC_V_linaro_5_4 is not set
# CT_CC_GCC_V_5_4_0 is not set
CT_CC_GCC_V_linaro_4_9=y
# CT_CC_GCC_V_linaro_4_9 is not set
# CT_CC_GCC_V_4_9_4 is not set
# CT_CC_GCC_V_linaro_4_8 is not set
# CT_CC_GCC_V_4_8_5 is not set
CT_CC_GCC_4_8_or_later=y
CT_CC_GCC_4_9=y
CT_CC_GCC_4_9_or_later=y
CT_CC_GCC_5_or_later=y
CT_CC_GCC_6=y
CT_CC_GCC_6_or_later=y
CT_CC_GCC_HAS_LIBMPX=y
CT_CC_GCC_ENABLE_CXX_FLAGS=""
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --disable-decimal-float"
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --disable-decimal-float"
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-float=hard"
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-float=hard"
CT_CC_GCC_STATIC_LIBSTDCXX=y
# CT_CC_GCC_SYSTEM_ZLIB is not set
CT_CC_GCC_CONFIG_TLS=m
@ -413,7 +417,6 @@ CT_CC_GCC_DEC_FLOAT_AUTO=y
# CT_CC_GCC_DEC_FLOATS_NO is not set
CT_CC_SUPPORT_CXX=y
CT_CC_SUPPORT_FORTRAN=y
CT_CC_SUPPORT_JAVA=y
CT_CC_SUPPORT_ADA=y
CT_CC_SUPPORT_OBJC=y
CT_CC_SUPPORT_OBJCXX=y
@ -424,7 +427,6 @@ CT_CC_SUPPORT_GOLANG=y
#
CT_CC_LANG_CXX=y
# CT_CC_LANG_FORTRAN is not set
# CT_CC_LANG_JAVA is not set
# CT_CC_LANG_ADA is not set
# CT_CC_LANG_OBJC is not set
# CT_CC_LANG_OBJCXX is not set
@ -448,7 +450,6 @@ CT_GETTEXT_NEEDED=y
CT_GMP_NEEDED=y
CT_MPFR_NEEDED=y
CT_ISL_NEEDED=y
CT_CLOOG_NEEDED=y
CT_MPC_NEEDED=y
CT_NCURSES_NEEDED=y
CT_COMPLIBS=y
@ -457,7 +458,6 @@ CT_GETTEXT=y
CT_GMP=y
CT_MPFR=y
CT_ISL=y
CT_CLOOG=y
CT_MPC=y
CT_NCURSES=y
# CT_ZLIB is not set
@ -489,17 +489,16 @@ CT_MPFR_V_3_1_5=y
# CT_MPFR_V_2_4_1 is not set
# CT_MPFR_V_2_4_0 is not set
CT_MPFR_VERSION="3.1.5"
CT_ISL_V_0_15=y
CT_ISL_V_0_18=y
# CT_ISL_V_0_17_1 is not set
# CT_ISL_V_0_16_1 is not set
# CT_ISL_V_0_15 is not set
# CT_ISL_V_0_14 is not set
# CT_ISL_V_0_12_2 is not set
CT_ISL_V_0_16_or_later=y
CT_ISL_V_0_15_or_later=y
CT_ISL_V_0_14_or_later=y
CT_ISL_V_0_12_or_later=y
CT_ISL_VERSION="0.15"
CT_CLOOG_V_0_18_4=y
CT_CLOOG_VERSION="0.18.4"
CT_CLOOG_0_18_4_or_later=y
CT_CLOOG_0_18_or_later=y
CT_ISL_VERSION="0.18"
CT_MPC_V_1_0_3=y
# CT_MPC_V_1_0_2 is not set
# CT_MPC_V_1_0_1 is not set

2
make/crosstool.mk

@ -83,7 +83,7 @@ crosstool-arm-hd2: CROSS_DIR-check $(ARCHIVE)/gcc-linaro-$(GCC_VER).tar.xz $(SOU
chmod -R +w $(CROSS_DIR)
test -e $(CROSS_DIR)/$(TARGET)/lib && mv $(CROSS_DIR)/$(TARGET)/lib $(CROSS_DIR)/$(TARGET)/lib.x
test -e $(CROSS_DIR)/$(TARGET)/lib || ln -sf sys-root/lib $(CROSS_DIR)/$(TARGET)/
rm -f $(CROSS_DIR)/$(TARGET)/sys-root/lib/libstdc++.so.6.0.20-gdb.py
rm -f $(CROSS_DIR)/$(TARGET)/sys-root/lib/libstdc++.so.6.0.22-gdb.py
$(REMOVE)/crosstool-ng
crosstool-arm-hd51: CROSS_DIR-check

5
make/environment.mk

@ -182,6 +182,7 @@ ifeq ($(BOXSERIES), hd1)
TARGET_MARCH_CFLAGS = -march=armv6 -mfloat-abi=soft -mlittle-endian
TARGET_EXTRA_CFLAGS = -fdata-sections -ffunction-sections
TARGET_EXTRA_LDFLAGS = -Wl,--gc-sections
CXX11_ABI =
endif
ifeq ($(BOXSERIES), hd2)
@ -207,6 +208,7 @@ ifeq ($(BOXSERIES), hd2)
TARGET_EXTRA_CFLAGS = -fdata-sections -ffunction-sections
TARGET_EXTRA_LDFLAGS = -Wl,--gc-sections
endif
CXX11_ABI = -D_GLIBCXX_USE_CXX11_ABI=0
endif
ifeq ($(BOXSERIES), hd51)
@ -221,9 +223,10 @@ ifeq ($(BOXSERIES), hd51)
TARGET_MARCH_CFLAGS = -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard
TARGET_EXTRA_CFLAGS =
TARGET_EXTRA_LDFLAGS =
CXX11_ABI =
endif
TARGET_CFLAGS = -pipe $(TARGET_O_CFLAGS) $(TARGET_MARCH_CFLAGS) $(TARGET_EXTRA_CFLAGS) -g -I$(TARGETINCLUDE)
TARGET_CFLAGS = -pipe $(TARGET_O_CFLAGS) $(TARGET_MARCH_CFLAGS) $(TARGET_EXTRA_CFLAGS) $(CXX11_ABI) -g -I$(TARGETINCLUDE)
TARGET_CPPFLAGS = $(TARGET_CFLAGS)
TARGET_CXXFLAGS = $(TARGET_CFLAGS)
TARGET_LDFLAGS = $(CORTEX-STRINGS) -Wl,-O1 -Wl,-rpath,$(TARGETLIB) -Wl,-rpath-link,$(TARGETLIB) -L$(TARGETLIB) $(TARGET_EXTRA_LDFLAGS)

6
make/static.mk

@ -12,9 +12,9 @@ $(STATICLIB)/libcortex-strings.la: $(ARCHIVE)/cortex-strings-$(CORTEX-STRINGS_VE
$(UNTAR)/cortex-strings-$(CORTEX-STRINGS_VER).tar.bz2
pushd $(BUILD_TMP)/cortex-strings-$(CORTEX-STRINGS_VER) && \
./autogen.sh && \
CFLAGS="-pipe -O2 -g -I$(TARGETINCLUDE)" \
CPPFLAGS="-pipe -O2 -g -I$(TARGETINCLUDE)" \
CXXFLAGS="-pipe -O2 -g -I$(TARGETINCLUDE)" \
CFLAGS="-pipe -O2 $(CXX11_ABI) -g -I$(TARGETINCLUDE)" \
CPPFLAGS="-pipe -O2 $(CXX11_ABI) -g -I$(TARGETINCLUDE)" \
CXXFLAGS="-pipe -O2 $(CXX11_ABI) -g -I$(TARGETINCLUDE)" \
LDFLAGS="-Wl,-O1 -L$(TARGETLIB)" \
PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \
./configure $(CONFIGURE_OPTS) \

2
skel-root/coolstream/hd2-kronos/etc/init.d/stb_update.data

@ -1,2 +1,2 @@
# get this info with "make get-update-info"
V_KERNEL="Fri Jul 28 14:47:56 CEST 2017"
V_KERNEL="Sun Oct 29 15:18:08 CET 2017"

BIN
skel-root/coolstream/hd2-kronos/var/update/vmlinux.ub.gz

Binary file not shown.

2
skel-root/coolstream/hd2/etc/init.d/stb_update.data

@ -1,2 +1,2 @@
# get this info with "make get-update-info"
V_KERNEL="Fri Jul 28 14:47:36 CEST 2017"
V_KERNEL="Sun Oct 29 15:16:12 CET 2017"

BIN
skel-root/coolstream/hd2/var/update/vmlinux.ub.gz

Binary file not shown.
Loading…
Cancel
Save