1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-04 18:00:36 +00:00

ti-gc320-driver: workaround for gcc8 stringop-overflow error

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Denys Dmytriyenko
2018-10-18 07:04:18 +00:00
parent 54ba95b375
commit fab8b9c033
2 changed files with 29 additions and 1 deletions
@@ -0,0 +1,26 @@
From c93a4217425ffebae1fb2d5c6c7fc957eb8aa18c Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Tue, 16 Oct 2018 21:16:48 -0400
Subject: [PATCH] Kbuild: bypass gcc8 stringop-overflow error
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
src/Kbuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Kbuild b/src/Kbuild
index 574a107..df4368d 100755
--- a/src/Kbuild
+++ b/src/Kbuild
@@ -87,7 +87,7 @@ MODULE_NAME ?= galcore
CUSTOMER_ALLOCATOR_OBJS ?=
ALLOCATOR_ARRAY_H_LOCATION ?= $(OS_KERNEL_DIR)/allocator/default/
-EXTRA_CFLAGS += -Werror
+EXTRA_CFLAGS += -Werror -Wno-stringop-overflow
OBJS := $(OS_KERNEL_DIR)/gc_hal_kernel_device.o \
$(OS_KERNEL_DIR)/gc_hal_kernel_linux.o \
--
2.7.4
@@ -13,7 +13,9 @@ BRANCH = "ti-${PV}-k4.14"
SRCREV = "a36799d9329efcfff19e30e690156d5ebf7e0c55"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH} \
file://0001-Kbuild-bypass-gcc8-stringop-overflow-error.patch;striplevel=2"
S = "${WORKDIR}/git/src"
EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"