mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
dtc: make clean before building for target
DTC tries to link against libraries built for host when building for target. Work this around by cleaning the build dir before building for target.
This commit is contained in:
parent
daca47e7ad
commit
1f2d2bacb6
@ -46,6 +46,10 @@ post_makeinstall_host() {
|
||||
touch $TOOLCHAIN/lib/$PKG_PYTHON_VERSION/site-packages/pylibfdt/__init__.py
|
||||
}
|
||||
|
||||
pre_make_target() {
|
||||
make clean BIN=
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user