Hey!
I’m curious how can I build addon for CoreELEC? I know it’s kind of different than download an arm version of addon for example. Is there a step by step guide for it?
I need to build an inputstream.adaptive addon from github repo, because I need latest version to make my TV addon working.
Instead of make image you build just addon (or build image first and then addon)
PROJECT=..... ARCH=arm ./scripts/create_addon inputstream.adaptive
and you need to adjust version in file packages/mediacenter/kodi-binary-addons/inputstream.adaptive/package.mk.
Thanks for your reply
Tried to build latest version but got error when it was 166/169
hastebin - acufonanut (kodi.tv)
Maybe you know what is wrong?
As you can read from log you need to look inside files like
/home/mrx/CoreELEC/CoreELEC/build.CoreELEC-Amlogic-ng.arm-19/.threads/logs/167.log
to identify which package failed and why.
Here is the log file: hastebin - uhazerezil (kodi.tv)
Maybe there is problem because i’m trying to build it on WSL instead of native linux environment?
Based on this:
-- Could not find hardware support for SSE (missing: _SSE_TRUE _SSE_OK)
-- Could not find hardware support for SSE2 (missing: _SSE2_TRUE _SSE2_OK)
-- Could not find hardware support for SSE3 (missing: _SSE3_TRUE _SSE3_OK)
-- Could not find hardware support for SSSE3 (missing: _SSSE3_TRUE _SSSE3_OK)
-- Could not find hardware support for SSE4.1 (missing: _SSE41_TRUE _SSE41_OK)
-- Could not find hardware support for SSE4.2 (missing: _SSE42_TRUE _SSE42_OK)
-- Could not find hardware support for AVX (missing: _AVX_TRUE _AVX_OK)
-- Could not find hardware support for AVX2 (missing: _AVX2_TRUE _AVX2_OK)
I’m not familiar with building is WSL. Bzt this doesn’t look good
-- Check for working CXX compiler: /home/mrx/CoreELEC/CoreELEC/build.CoreELEC-Amlogic-ng.arm-19/toolchain/bin/armv8a-libreelec-linux-gnueabihf-g++ - skipped
Installed g++-arm-linux-gnueabihf
and gonna try to build again
#edit still no luck. Do you think it could work better on Ubuntu instead of WSL?
I’m sure it will work better on Ubuntu - most of us is using it.
Ok, so I’m gonna install Ubuntu and will report back with any progress
Hmm… I got some progress but still get some errors. Please check it: hastebin
I think this time I did something wrong.
Command I’m using is: PROJECT=Amlogic-ce ARCH=arm ./scripts/create_addon inputstream.adaptive
and version in package.mk:
PKG_VERSION="2.6.11-Matrix"
#edit
I got it!
[169/169] [DONE] build inputstream.adaptive:target
Total Build Time: 00:00:21.922 (wall clock)
Accum Build Time: 00:04:21.203 (12 slots)
Breakdown by status (all slots):
Status Usage ( Pct ) Count State
ACTIVE : :15.530 (05.9%) 3 busy
FAILED : :00.000 (00.0%) 0
GETPKG : :01.572 (00.6%) 1 busy
IDLE :03:44.597 (86.0%) 169
LOCKED : :09.700 (03.7%) 171
MUTEX : :00.000 (00.0%) 0 busy
MUTEX/W : :00.000 (00.0%) 0 stall
STALLED : :00.000 (00.0%) 0 stall
UNLOCK : :09.804 (03.8%) 171
-------------------------------------
TOTAL :04:21.203 ( 100%) 515
Peak concurrency: 1 out of 12 slots
0 job slots were held in a "stall" state for 00:00:00.000
Slot usage (time in a "busy" state): | Concurrency breakdown ("busy"):
|
#Rank Slot Usage ( Pct ) | # of Slots Usage ( Pct )
#01 11 : :17.102 (06.5%) | 01 : :17.102 (06.5%)
#02 01 : :00.000 (00.0%) |
#03 02 : :00.000 (00.0%) |
#04 03 : :00.000 (00.0%) |
#05 04 : :00.000 (00.0%) |
#06 05 : :00.000 (00.0%) |
#07 06 : :00.000 (00.0%) |
#08 07 : :00.000 (00.0%) |
#09 08 : :00.000 (00.0%) |
#10 09 : :00.000 (00.0%) |
#11 10 : :00.000 (00.0%) |
#12 12 : :00.000 (00.0%) |
-----------------------------------------+---------------------------------
TOTALS : :17.102 (06.5%) : :17.102 (06.5%)
ALL ADDONS BUILT SUCCESSFULLY
Something is wrong with latest release so I compiled 2.6.8 version which is working well with my Live TV Thanks again for your effort!
I think inputstream.adaptive will be updated & added to the CoreELEC repo within the next few days, isn’t this the way it usually works? So if you wait a few days it could save you the trouble
Where is the fun then
Where is the fun then
Oh exactly! That was the same I was thinking
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.