Issue discovered as $TARGET expanding to aarch64-libreelec-linux-gnueabi
Should build aarch64 for gnu, not gnueabi
- which doesn't make sense on aarch64 as eabi implies soft float
Reported-by: MrDuck2742
Suggested-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
Tested-by: Matthias Reichl <hias@horus.com>
Tested-by: MrDuck2742
Since gcc 11 -gsplit-dwarf no longer implicitly enables -g and needs
a separate -g option. For some yet unknown reasons the default DWARF 5
format doesn't work, gdb doesn't show debug info, but DWARF 4 works fine
so use that.
Signed-off-by: Matthias Reichl <hias@horus.com>
Use of ccache on build host is now controlled by the
LOCAL_CCACHE_SUPPORT option. Setting it to "no" will disable use
of local ccache.
Signed-off-by: Matthias Reichl <hias@horus.com>
If LOCAL_CCACHE is set to the full path of ccache on the build host
it will be used for early stage host package builds, eg make and ccache
at the moment.
By default it uses a separate cache dir (.ccache-local) so that it
doesn't interfere with our ccache (which is typically a different
version). The location can be changed by setting LOCAL_CCACHE_DIR
Signed-off-by: Matthias Reichl <hias@horus.com>
This is needed for host packages built in very early stages,
before host-cc (which typically uses ccache) is available.
Set CC/CXX to LOCAL_CC/CXX in this case.
Signed-off-by: Matthias Reichl <hias@horus.com>
python's crypt module is deprecated in 3.11 and to be removed in 3.13.
Replace its usage with openssl's passwd.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>