diff --git a/br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/11_fix_yylloc_for_modern_computers.patch b/br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/11_fix_yylloc_for_modern_computers.patch index 2a670230..d7088f90 100644 --- a/br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/11_fix_yylloc_for_modern_computers.patch +++ b/br-ext-chip-hisilicon/board/hi3516cv300/kernel/patches/11_fix_yylloc_for_modern_computers.patch @@ -1,11 +1,11 @@ ---- a/scripts/dtc/dtc-lexer.lex.c_shipped 2016-08-28 13:19:20.000000000 +0300 -+++ b/scripts/dtc/dtc-lexer.lex.c_shipped 2021-04-02 00:06:02.972781070 +0300 +--- a/scripts/dtc/dtc-lexer.lex.c_shipped 2015-08-07 22:08:04.000000000 +0300 ++++ b/scripts/dtc/dtc-lexer.lex.c_shipped 2021-11-01 22:15:12.347053553 +0300 @@ -637,7 +637,7 @@ #include "srcpos.h" #include "dtc-parser.tab.h" -YYLTYPE yylloc; +extern YYLTYPE yylloc; - extern bool treesource_error; /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ + #define YY_USER_ACTION \ diff --git a/br-ext-chip-hisilicon/configs/unknown_unknown_hi3516cv300_openipc_defconfig b/br-ext-chip-hisilicon/configs/unknown_unknown_hi3516cv300_openipc_defconfig index 34bc496d..7de3df83 100644 --- a/br-ext-chip-hisilicon/configs/unknown_unknown_hi3516cv300_openipc_defconfig +++ b/br-ext-chip-hisilicon/configs/unknown_unknown_hi3516cv300_openipc_defconfig @@ -1,7 +1,6 @@ # Architecture BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_INSTRUCTIONS_THUMB=y +BR2_arm926t=y BR2_KERNEL_HEADERS_VERSION=y BR2_DEFAULT_KERNEL_VERSION="3.18.20" BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y @@ -9,12 +8,12 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y BR2_GCC_VERSION_7_X=y -BR2_TOOLCHAIN_USES_UCLIBC=y -BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y -BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" -# BR2_TOOLCHAIN_USES_MUSL is not set -# BR2_TOOLCHAIN_BUILDROOT_MUSL is not set -# BR2_TOOLCHAIN_BUILDROOT_LIBC="musl" +# BR2_TOOLCHAIN_USES_UCLIBC is not set +# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set +# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" +BR2_TOOLCHAIN_USES_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_LIBC="musl" # BR2_TOOLCHAIN_BUILDROOT_CXX is not set BR2_TOOLCHAIN_BUILDROOT_LOCALE=y BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y @@ -41,7 +40,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/../scripts/executing_commands_for_$(BR2_ # OpenIPC configuration BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc" BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC v2.1" -BR2_TARGET_GENERIC_HOSTNAME="openipc-hi3516ev300" +BR2_TARGET_GENERIC_HOSTNAME="openipc-hi3516cv300" BR2_GLOBAL_PATCH_DIR="$(TOPDIR)/../general/package/all-patches" # OpenIPC packages