Issues building CoreELEC from source

Ubuntu 20.04…

PROJECT=Amlogic ARCH=arm tools/download-tool

PROJECT=Amlogic ARCH=arm make image 
=================================================================================
 End Configuration for CoreELEC
 =================================================================================

config/functions: line 328: [: too many arguments
config/functions: line 281: [: too many arguments
fatal: not a git repository (or any of the parent directories): .git
make: *** [Makefile:9: release] Error 128

I moved your post here, since the other topics are meant for supporting users that are using the official builds, so building CoreELEC yourself is off topic in those threads.

To build CoreELEC 9.2 Amlogic-ng

git clone https://github.com/CoreELEC/CoreELEC.git
cd CoreELEC
git checkout coreelec-9.2
PROJECT=Amlogic-ng ARCH=arm make image

To build CoreELEC 9.2 Amlogic

git clone https://github.com/CoreELEC/CoreELEC.git
cd CoreELEC
git checkout coreelec-9.2
PROJECT=Amlogic ARCH=arm make image

To build CoreELEC 19

git clone https://github.com/CoreELEC/CoreELEC.git
cd CoreELEC
git checkout coreelec-19
PROJECT=Amlogic-ce ARCH=arm make image

Thanks!!! :slight_smile:
This my tvbox
x96s905x 2GB / 16gb
Good build?

git clone https://github.com/CoreELEC/CoreELEC.git
cd CoreELEC
git checkout coreelec-19
PROJECT=Amlogic-ce ARCH=arm make image

We will see when you will actually build it.

FAILURE: scripts/build CoreELEC-settings:target during make_target (default)
*********** FAILED COMMAND ***********
make ${PKG_MAKE_OPTS_TARGET}
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
**************************************
FAILURE: scripts/install CoreELEC-settings:target has failed!

I’m almost sure there was something more on screen at the end with some log file reference where you can see where the issue is.

But I think maybe building CoreELEC is just not for you :thinking:

About | FAQ | Terms of Service | Privacy Policy | Legal Notice