mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
dtc: drop host build - not required
This commit is contained in:
parent
dad08771a9
commit
0695fb75e4
@ -8,28 +8,11 @@ PKG_SHA256="14343cb204aaff386206ea27e39e93d6e35d9a797222e8426f95e57828ca6b94"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://git.kernel.org/pub/scm/utils/dtc/dtc.git/"
|
||||
PKG_URL="https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_HOST="Python2:host swig:host"
|
||||
PKG_DEPENDS_TARGET="toolchain dtc:host"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="The Device Tree Compiler"
|
||||
|
||||
PKG_MAKE_OPTS_HOST="dtc libfdt"
|
||||
PKG_MAKE_OPTS_TARGET="dtc fdtput fdtget libfdt"
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p $TOOLCHAIN/bin
|
||||
cp -P $PKG_BUILD/dtc $TOOLCHAIN/bin
|
||||
cp -P $PKG_BUILD/libfdt/libfdt.so $TOOLCHAIN/lib/
|
||||
}
|
||||
|
||||
post_makeinstall_host() {
|
||||
python ./pylibfdt/setup.py build_ext --inplace
|
||||
exec_thread_safe python ./pylibfdt/setup.py install --prefix=$TOOLCHAIN
|
||||
}
|
||||
|
||||
pre_make_target() {
|
||||
make clean BIN=
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/dtc $INSTALL/usr/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user