dtc: fix host install path

currenly dtc package install everything in $HOME when build for the
:host target.
It's not the intended behavior.
Define a makeinstall_host function that will copy the binary in the proper
:host path for dtc.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
This commit is contained in:
Jérôme Benoit 2017-01-29 11:24:03 +01:00
parent 56f05ab4d6
commit a279e8f1c5

View File

@ -36,3 +36,8 @@ makeinstall_target() {
mkdir -p $INSTALL/usr/bin
cp -P $ROOT/$PKG_BUILD/dtc $INSTALL/usr/bin
}
makeinstall_host() {
mkdir -p $INSTALL/usr/bin
cp -P $ROOT/$PKG_BUILD/dtc $INSTALL/usr/bin
}