genode/repos/dde_linux/ports/linux.port
Benjamin Lamowski faf37b51e7 dde_linux: backport fix for use-after-free reported by GCC 12
On my system, compiling dde_linux fails with `-Werror=use-after-free`.
Backport the fix from mainline to get rid of the issue.

Fixes #4740
2023-02-27 08:20:45 +01:00

21 lines
705 B
Plaintext

LICENSE := GPLv2
VERSION := 5.14.21
DOWNLOADS := linux.archive
URL(linux) := https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$(VERSION).tar.xz
SHA(linux) := f41a259cb2002dd2e3286524b2bb4e803f4f982992d092706ecea613584023b3
DIR(linux) := src/linux
#
# Patches
#
PATCH_FILES := i915_irq.patch i915_alderlake.patch xhci_fix_event_37.patch \
xhci_abort_ring.patch iwlwifi_enable_irq_before_pnvm.patch \
realloc-fix-gcc-12.patch
PATCHES += $(addprefix patches/,$(PATCH_FILES))
# i915
PATCH_OPT(patches/i915_irq.patch) := -p1 -d${DIR(linux)}
PATCH_OPT(patches/xhci_abort_ring.patch) := -p1 -d${DIR(linux)}
PATCH_OPT(patches/xhci_fix_event_37.patch) := -p1 -d${DIR(linux)}