Which GIT and branch are you trying to use ?
GitHub - LibreELEC/LibreELEC.tv: Just enough OS for KODI origin/master # Per wiki instructions
PROJECT=Amlogic DEVICE=AMLG12 ARCH=aarch64 make image # My best guess
-----
patching file arch/arm64/kernel/cpuinfo.c
Hunk #1 succeeded at 148 (offset 1 line).
APPLY PATCH (project) projects/Amlogic/patches/linux/amlogic-0004-HACK-arm64-dts-meson-gx-add-ATF-BL32-reserved-memory.patch
patching file arch/arm64/boot/dts/amlogic/meson-gx.dtsi
APPLY PATCH (project) projects/Amlogic/patches/linux/amlogic-0005-HACK-media-cec-silence-CEC-timeout-message.patch
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From d7ba0960e3bc51f8368ef9d3b98ce33be91e3570 Mon Sep 17 00:00:00 2001
|From: Christian Hewitt <[email protected]>
|Date: Tue, 7 Jan 2020 07:12:47 +0000
|Subject: [PATCH 005/156] HACK: media: cec: silence CEC timeout message
|
|If testing with an AVR that does not pass-through CEC state the system
|log fills with timeout messages. Silence this to stop the log rotation
|and ensure other issues are visible.
|
|[ 42.718009] cec-meson_ao_cec: message ff 84 50 00 01 timed out
|[ 45.021994] cec-meson_ao_cec: message ff 87 00 15 82 timed out
|[ 47.325965] cec-meson_ao_cec: message 10 timed out
|[ 49.630023] cec-meson_ao_cec: message 10 timed out
|[ 51.933960] cec-meson_ao_cec: message 10 timed out
|
|Signed-off-by: Christian Hewitt <[email protected]>
|---
| drivers/media/cec/cec-adap.c | 6 +++---
| 1 file changed, 3 insertions(+), 3 deletions(-)
|
|diff --git a/drivers/media/cec/cec-adap.c b/drivers/media/cec/cec-adap.c
|index 6a04d19a96b2..fcb29dba8de1 100644
|--- a/drivers/media/cec/cec-adap.c
|+++ b/drivers/media/cec/cec-adap.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
*********** FAILED COMMAND ***********
patch -d $(echo "${PKG_BUILD}" | cut -f1 -d\ ) -p1 1>&${VERBOSE_OUT}
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${PKG_NAME}" "${PARENT_PKG}"
**************************************
FAILURE: scripts/build linux:host has failed!
The following log for this failure is available:
/mnt/fast/http://LibreELEC.tv/build.LibreELEC-AMLG12.aarch64-9.80-devel/.threads/logs/42.log
>>> linux:host seq 42 >>>
[041/257] [FAIL] build linux:host
The following log for this failure is available:
/mnt/fast/http://LibreELEC.tv/build.LibreELEC-AMLG12.aarch64-9.80-devel/.threads/logs/42.log
Parallel build failure - see log for details. Time of failure: Tue Sep 22 06:53:21 PDT 2020
make: *** [Makefile:12: image] Error 1