From 55481e63e2d17fcb3929a4f47643754fdfa6bec8 Mon Sep 17 00:00:00 2001 From: adamg Date: Fri, 1 Dec 2023 01:40:55 +0000 Subject: [PATCH] mali-bifrost: bump package to r46p0 --- .../Amlogic/packages/mali-bifrost/package.mk | 2 +- .../patches/001-fix-building.patch | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 projects/Amlogic/packages/mali-bifrost/patches/001-fix-building.patch diff --git a/projects/Amlogic/packages/mali-bifrost/package.mk b/projects/Amlogic/packages/mali-bifrost/package.mk index 1b8be9607..1086ab10a 100644 --- a/projects/Amlogic/packages/mali-bifrost/package.mk +++ b/projects/Amlogic/packages/mali-bifrost/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) PKG_NAME="mali-bifrost" -PKG_VERSION="r44p0-01eac0" +PKG_VERSION="r46p0-01eac0" PKG_LICENSE="GPL" PKG_SITE="https://developer.arm.com/downloads/-/mali-drivers/bifrost-kernel" PKG_URL="https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-bifrost-gpu/BX304L01B-SW-99002-${PKG_VERSION}.tar" diff --git a/projects/Amlogic/packages/mali-bifrost/patches/001-fix-building.patch b/projects/Amlogic/packages/mali-bifrost/patches/001-fix-building.patch new file mode 100644 index 000000000..f2665481d --- /dev/null +++ b/projects/Amlogic/packages/mali-bifrost/patches/001-fix-building.patch @@ -0,0 +1,19 @@ +diff --git a/driver/product/kernel/drivers/gpu/arm/midgard/Makefile b/driver/product/kernel/drivers/gpu/arm/midgard/Makefile +index a3ba2b2..3ed9ccf 100644 +--- a/product/kernel/drivers/gpu/arm/midgard/Makefile ++++ b/product/kernel/drivers/gpu/arm/midgard/Makefile +@@ -228,14 +228,6 @@ ifeq ($(MALI_KCONFIG_EXT_PREFIX),) + EXTRA_CFLAGS += -DCONFIG_MALI_NO_MALI_DEFAULT_GPU='\"$(CONFIG_MALI_NO_MALI_DEFAULT_GPU)\"' + endif + +-# +-# KBUILD_EXTRA_SYMBOLS to prevent warnings about unknown functions +-# +-BASE_SYMBOLS = $(M)/../../base/arm/Module.symvers +- +-EXTRA_SYMBOLS += \ +- $(BASE_SYMBOLS) +- + CFLAGS_MODULE += -Wall -Werror + + # The following were added to align with W=1 in scripts/Makefile.extrawarn