mirror of https://github.com/OpenIPC/firmware.git
[no ci] Makefile: update Sigmastar/Ingenic to buildroot 2024.02 (#1348)
parent
c3d525d4be
commit
305e09775d
|
@ -23,6 +23,51 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
# Sigmastar [I6]
|
||||
- {"platform": "ssc325", "release": "lite"}
|
||||
- {"platform": "ssc325de", "release": "lite"}
|
||||
|
||||
# Sigmastar [I6B]
|
||||
- {"platform": "ssc333", "release": "lite"}
|
||||
- {"platform": "ssc333", "release": "ultimate"}
|
||||
- {"platform": "ssc335", "release": "lite"}
|
||||
- {"platform": "ssc335", "release": "ultimate"}
|
||||
- {"platform": "ssc335de", "release": "lite"}
|
||||
- {"platform": "ssc335de", "release": "ultimate"}
|
||||
- {"platform": "ssc337", "release": "lite"}
|
||||
- {"platform": "ssc337", "release": "ultimate"}
|
||||
- {"platform": "ssc337de", "release": "lite"}
|
||||
- {"platform": "ssc337de", "release": "ultimate"}
|
||||
|
||||
# Sigmastar [I6C]
|
||||
- {"platform": "ssc377", "release": "lite"}
|
||||
|
||||
# Sigmastar [I6E]
|
||||
- {"platform": "ssc30kd", "release": "lite"}
|
||||
- {"platform": "ssc30kd", "release": "ultimate"}
|
||||
- {"platform": "ssc30kq", "release": "fpv"}
|
||||
- {"platform": "ssc30kq", "release": "lite"}
|
||||
- {"platform": "ssc30kq", "release": "ultimate"}
|
||||
- {"platform": "ssc338q", "release": "fpv"}
|
||||
- {"platform": "ssc338q", "release": "lite"}
|
||||
- {"platform": "ssc338q", "release": "ultimate"}
|
||||
|
||||
# Ingenic [T21]
|
||||
- {"platform": "t10", "release": "lite"}
|
||||
- {"platform": "t20", "release": "lite"}
|
||||
- {"platform": "t20", "release": "ultimate"}
|
||||
- {"platform": "t21", "release": "lite"}
|
||||
- {"platform": "t21", "release": "ultimate"}
|
||||
- {"platform": "t30", "release": "lite"}
|
||||
|
||||
# Ingenic [T31]
|
||||
- {"platform": "t31", "release": "lite"}
|
||||
- {"platform": "t31", "release": "ultimate"}
|
||||
|
||||
# Ingenic [T40]
|
||||
- {"platform": "t40", "release": "lite"}
|
||||
- {"platform": "t40", "release": "ultimate"}
|
||||
|
||||
# Hisilicon [HI3516AV100]
|
||||
- {"platform": "hi3516av100", "release": "lite"}
|
||||
- {"platform": "hi3516av100", "release": "ultimate"}
|
||||
|
@ -153,7 +198,7 @@ jobs:
|
|||
|
||||
mkdir -p /tmp/ccache
|
||||
ln -s /tmp/ccache ${HOME}/.ccache
|
||||
make BOARD=${{matrix.platform}}_${{matrix.release}} all
|
||||
make BOARD=${{matrix.platform}}_${{matrix.release}}
|
||||
|
||||
TIME=$(date -d @${SECONDS} +%M:%S)
|
||||
echo TIME=${TIME} >> ${GITHUB_ENV}
|
||||
|
|
|
@ -13,33 +13,62 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform:
|
||||
- ak3918ev300
|
||||
- dm36x
|
||||
- fh8852v100
|
||||
- fh8852v200
|
||||
- gk7102
|
||||
- gm8136
|
||||
- hi3516cv100
|
||||
- hi3516cv200
|
||||
- hi3516cv300
|
||||
- hi3516cv500
|
||||
- hi3516ev200
|
||||
- hi3519v101
|
||||
- hi3536cv100
|
||||
- msc313e
|
||||
- msc316dc
|
||||
- msc316dm
|
||||
- nt98562
|
||||
- rv1126
|
||||
- s3l
|
||||
- ssc335
|
||||
- ssc338q
|
||||
- ssc377
|
||||
- t31
|
||||
- t40
|
||||
- xm510
|
||||
- xm530
|
||||
include:
|
||||
# Sigmastar [I6B]
|
||||
- {"platform": "ssc335"}
|
||||
|
||||
# Sigmastar [I6C]
|
||||
- {"platform": "ssc377"}
|
||||
|
||||
# Sigmastar [I6E]
|
||||
- {"platform": "ssc338q"}
|
||||
|
||||
# Hisilicon [HI3516CV100]
|
||||
- {"platform": "hi3516cv100"}
|
||||
|
||||
# Hisilicon [HI3516CV200]
|
||||
- {"platform": "hi3516cv200"}
|
||||
|
||||
# Hisilicon [HI3516CV300]
|
||||
- {"platform": "hi3516cv300"}
|
||||
|
||||
# Hisilicon [HI3516CV500]
|
||||
- {"platform": "hi3516cv500"}
|
||||
|
||||
# Hisilicon [HI3516EV200]
|
||||
- {"platform": "hi3516ev200"}
|
||||
|
||||
# Hisilicon [HI3519V101]
|
||||
- {"platform": "hi3519v101"}
|
||||
|
||||
# Hisilicon [HI3536CV100]
|
||||
- {"platform": "hi3536cv100"}
|
||||
|
||||
# Ingenic [T31]
|
||||
- {"platform": "t31"}
|
||||
|
||||
# Ingenic [T40]
|
||||
- {"platform": "t40"}
|
||||
|
||||
# Goke [GK710X]
|
||||
- {"platform": "gk7102"}
|
||||
|
||||
# Fullhan
|
||||
- {"platform": "fh8852v100"}
|
||||
- {"platform": "fh8852v200"}
|
||||
|
||||
# Grainmedia
|
||||
- {"platform": "gm8136"}
|
||||
|
||||
# Novatek
|
||||
- {"platform": "nt98562"}
|
||||
|
||||
# Rockchip
|
||||
- {"platform": "rv1126"}
|
||||
|
||||
# Xiongmai
|
||||
- {"platform": "xm510"}
|
||||
- {"platform": "xm530"}
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
|
|
7
Makefile
7
Makefile
|
@ -1,4 +1,4 @@
|
|||
BR_VER = 2023.02.7
|
||||
BR_VER = 2024.02
|
||||
BR_MAKE = $(MAKE) -C $(TARGET)/buildroot-$(BR_VER) BR2_EXTERNAL=$(PWD)/general O=$(TARGET)
|
||||
BR_LINK = https://github.com/buildroot/buildroot/archive
|
||||
BR_FILE = /tmp/buildroot-$(BR_VER).tar.gz
|
||||
|
@ -19,6 +19,11 @@ CONFIG := $(shell find br-ext-*/configs/*_defconfig | grep -m1 $(BOARD))
|
|||
include $(CONFIG)
|
||||
endif
|
||||
|
||||
SUPPORTED_VENDOR = "ingenic" "sigmastar"
|
||||
ifeq ($(filter $(BR2_OPENIPC_SOC_VENDOR),$(SUPPORTED_VENDOR)),)
|
||||
BR_VER = 2023.02.7
|
||||
endif
|
||||
|
||||
all: build repack timer
|
||||
|
||||
build: defconfig
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -116,6 +116,7 @@ BR2_PACKAGE_LOGCAT_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -116,6 +116,7 @@ BR2_PACKAGE_LOGCAT_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -131,6 +131,7 @@ BR2_PACKAGE_INGENIC_PWM=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -116,6 +116,7 @@ BR2_PACKAGE_LOGCAT_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -119,6 +119,7 @@ BR2_PACKAGE_LOGCAT_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -116,6 +116,7 @@ BR2_PACKAGE_LOGCAT_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -120,6 +120,7 @@ BR2_PACKAGE_MAVFWD=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -120,6 +120,7 @@ BR2_PACKAGE_INGENIC_DIAG_TOOLS=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -138,6 +138,7 @@ BR2_PACKAGE_INGENIC_DIAG_TOOLS=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -116,6 +116,7 @@ BR2_PACKAGE_LOGCAT_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -128,6 +128,7 @@ BR2_PACKAGE_INGENIC_PWM=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_UCLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -114,6 +114,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# Compression
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -94,6 +94,7 @@ BR2_PACKAGE_ZLIB=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -108,6 +108,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -110,6 +110,7 @@ BR2_PACKAGE_MAVFWD=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -94,6 +94,7 @@ BR2_PACKAGE_ZLIB=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -107,6 +107,7 @@ BR2_PACKAGE_RUBYFPV=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -108,6 +108,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -106,6 +106,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -112,6 +112,7 @@ BR2_PACKAGE_RTL8188FU_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -107,6 +107,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -113,6 +113,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_MUSL=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="musl"
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -106,6 +106,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -113,6 +113,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -107,6 +107,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -113,6 +113,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -106,6 +106,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -112,6 +112,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -107,6 +107,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
# BR2_TOOLCHAIN_USES_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
|
||||
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
|
||||
|
@ -120,6 +120,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -116,6 +116,7 @@ BR2_PACKAGE_MAVFWD=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -105,6 +105,7 @@ BR2_PACKAGE_RTL8733BU_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -94,6 +94,7 @@ BR2_PACKAGE_ZLIB=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -113,6 +113,7 @@ BR2_PACKAGE_RUBYFPV=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
|
||||
|
@ -114,6 +114,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
|
|||
|
||||
# Toolchain
|
||||
BR2_PER_PACKAGE_DIRECTORIES=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_GCC_VERSION_13_X=y
|
||||
BR2_TOOLCHAIN_USES_MUSL=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LIBC="musl"
|
||||
|
@ -104,6 +104,7 @@ BR2_PACKAGE_SSV6X5X_OPENIPC=y
|
|||
# CCACHE
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||
BR2_OPTIMIZE_S=y
|
||||
|
||||
# External
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
diff --git a/include/linux/compiler-gcc12.h b/include/linux/compiler-gcc12.h
|
||||
new file mode 100644
|
||||
--- /dev/null 2022-08-22 23:23:56.715039817 -0400
|
||||
+++ a/include/linux/compiler-gcc12.h 2022-09-02 12:33:35.369445979 -0400
|
||||
--- /dev/null
|
||||
+++ a/include/linux/compiler-gcc12.h
|
||||
@@ -0,0 +1,126 @@
|
||||
+/* gcc version specific checks */
|
||||
+
|
||||
|
|
|
@ -0,0 +1,131 @@
|
|||
diff --git a/include/linux/compiler-gcc13.h b/include/linux/compiler-gcc13.h
|
||||
new file mode 100644
|
||||
--- /dev/null
|
||||
+++ a/include/linux/compiler-gcc13.h
|
||||
@@ -0,0 +1,126 @@
|
||||
+/* gcc version specific checks */
|
||||
+
|
||||
+#ifndef GCC_VERSION
|
||||
+#define GCC_VERSION (__GNUC__ * 10000 \
|
||||
+ + __GNUC_MINOR__ * 100 \
|
||||
+ + __GNUC_PATCHLEVEL__)
|
||||
+#endif
|
||||
+
|
||||
+#if GCC_VERSION < 30200
|
||||
+# error Sorry, your compiler is too old - please upgrade it.
|
||||
+#endif
|
||||
+
|
||||
+#if GCC_VERSION < 30300
|
||||
+# define __used __attribute__((__unused__))
|
||||
+#else
|
||||
+# define __used __attribute__((__used__))
|
||||
+#endif
|
||||
+
|
||||
+#ifdef CONFIG_GCOV_KERNEL
|
||||
+# if GCC_VERSION < 30400
|
||||
+# error "GCOV profiling support for gcc versions below 3.4 not included"
|
||||
+# endif /* __GNUC_MINOR__ */
|
||||
+#endif /* CONFIG_GCOV_KERNEL */
|
||||
+
|
||||
+#if GCC_VERSION >= 30400
|
||||
+#define __must_check __attribute__((warn_unused_result))
|
||||
+#endif
|
||||
+
|
||||
+#if GCC_VERSION >= 40000
|
||||
+
|
||||
+/* GCC 4.1.[01] miscompiles __weak */
|
||||
+#ifdef __KERNEL__
|
||||
+# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
|
||||
+# error Your version of gcc miscompiles the __weak directive
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#define __used __attribute__((__used__))
|
||||
+#define __compiler_offsetof(a, b) \
|
||||
+ __builtin_offsetof(a, b)
|
||||
+
|
||||
+#if GCC_VERSION >= 40100 && GCC_VERSION < 40600
|
||||
+# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
|
||||
+#endif
|
||||
+
|
||||
+#if GCC_VERSION >= 40300
|
||||
+/* Mark functions as cold. gcc will assume any path leading to a call
|
||||
+ * to them will be unlikely. This means a lot of manual unlikely()s
|
||||
+ * are unnecessary now for any paths leading to the usual suspects
|
||||
+ * like BUG(), printk(), panic() etc. [but let's keep them for now for
|
||||
+ * older compilers]
|
||||
+ *
|
||||
+ * Early snapshots of gcc 4.3 don't support this and we can't detect this
|
||||
+ * in the preprocessor, but we can live with this because they're unreleased.
|
||||
+ * Maketime probing would be overkill here.
|
||||
+ *
|
||||
+ * gcc also has a __attribute__((__hot__)) to move hot functions into
|
||||
+ * a special section, but I don't see any sense in this right now in
|
||||
+ * the kernel context
|
||||
+ */
|
||||
+#define __cold __attribute__((__cold__))
|
||||
+
|
||||
+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
|
||||
+
|
||||
+#ifndef __CHECKER__
|
||||
+# define __compiletime_warning(message) __attribute__((warning(message)))
|
||||
+# define __compiletime_error(message) __attribute__((error(message)))
|
||||
+#endif /* __CHECKER__ */
|
||||
+#endif /* GCC_VERSION >= 40300 */
|
||||
+
|
||||
+#if GCC_VERSION >= 40500
|
||||
+/*
|
||||
+ * Mark a position in code as unreachable. This can be used to
|
||||
+ * suppress control flow warnings after asm blocks that transfer
|
||||
+ * control elsewhere.
|
||||
+ *
|
||||
+ * Early snapshots of gcc 4.5 don't support this and we can't detect
|
||||
+ * this in the preprocessor, but we can live with this because they're
|
||||
+ * unreleased. Really, we need to have autoconf for the kernel.
|
||||
+ */
|
||||
+#define unreachable() __builtin_unreachable()
|
||||
+
|
||||
+/* Mark a function definition as prohibited from being cloned. */
|
||||
+#define __noclone __attribute__((__noclone__))
|
||||
+
|
||||
+#endif /* GCC_VERSION >= 40500 */
|
||||
+
|
||||
+#if GCC_VERSION >= 40600
|
||||
+/*
|
||||
+ * Tell the optimizer that something else uses this function or variable.
|
||||
+ */
|
||||
+#define __visible __attribute__((externally_visible))
|
||||
+#endif
|
||||
+
|
||||
+/*
|
||||
+ * GCC 'asm goto' miscompiles certain code sequences:
|
||||
+ *
|
||||
+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
|
||||
+ *
|
||||
+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
|
||||
+ *
|
||||
+ * (asm goto is automatically volatile - the naming reflects this.)
|
||||
+ */
|
||||
+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
|
||||
+
|
||||
+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
|
||||
+#if GCC_VERSION >= 40400
|
||||
+#define __HAVE_BUILTIN_BSWAP32__
|
||||
+#define __HAVE_BUILTIN_BSWAP64__
|
||||
+#endif
|
||||
+#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600)
|
||||
+#define __HAVE_BUILTIN_BSWAP16__
|
||||
+#endif
|
||||
+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
|
||||
+
|
||||
+#if GCC_VERSION >= 50000
|
||||
+#define KASAN_ABI_VERSION 4
|
||||
+#elif GCC_VERSION >= 40902
|
||||
+#define KASAN_ABI_VERSION 3
|
||||
+#endif
|
||||
+
|
||||
+#endif /* gcc version >= 40000 specific checks */
|
||||
+
|
||||
+#ifndef OPTIMIZER_HIDE_VAR
|
||||
+#define OPTIMIZER_HIDE_VAR(var) __asm__ ("" : "=r" (var) : "0" (var))
|
||||
+#endif
|
|
@ -5,7 +5,7 @@
|
|||
################################################################################
|
||||
|
||||
AWS_WEBRTC_SITE = $(call github,OpenIPC,webrtc-c,$(AWS_WEBRTC_VERSION))
|
||||
AWS_WEBRTC_VERSION = develop
|
||||
AWS_WEBRTC_VERSION = master
|
||||
|
||||
AWS_WEBRTC_INSTALL_STAGING = YES
|
||||
AWS_WEBRTC_LICENSE = Apache-2.0
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
################################################################################
|
||||
|
||||
LIBSRTP_OPENIPC_SITE = $(call github,cisco,libsrtp,$(LIBSRTP_OPENIPC_VERSION))
|
||||
LIBSRTP_OPENIPC_VERSION = HEAD
|
||||
LIBSRTP_OPENIPC_VERSION = v2.6.0
|
||||
|
||||
LIBSRTP_OPENIPC_INSTALL_STAGING = YES
|
||||
LIBSRTP_OPENIPC_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
|
Loading…
Reference in New Issue