Add all mtools to toolchain directory

Look for mtools in toolchain/bin instead of toolchain/sbin

mattrib is used by syslinux.mtools during make image
When mattrib is absent, this error is observed:
make image

> image: installing extlinux to part1...
> sh: mattrib: command not found
> syslinux.mtools: warning: failed to set system bit on ldlinux.sys
> sh: mattrib: command not found
> syslinux.mtools: warning: failed to set system bit on ldlinux.c32
> image: copying files to part1...
This commit is contained in:
aluft 2016-02-25 14:48:10 -05:00
parent 70e279dddb
commit bcf13b8157

View File

@ -29,12 +29,4 @@ PKG_SECTION="tools"
PKG_SHORTDESC="mtools: A collection of utilities to access MS-DOS disks" PKG_SHORTDESC="mtools: A collection of utilities to access MS-DOS disks"
PKG_LONGDESC="mtools: A collection of utilities to access MS-DOS disks" PKG_LONGDESC="mtools: A collection of utilities to access MS-DOS disks"
PKG_IS_ADDON="no" PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_AUTORECONF="yes" PKG_AUTORECONF="yes"
makeinstall_host() {
$STRIP mtools
mkdir -p $ROOT/$TOOLCHAIN/sbin
find . -type l -exec cp -P \{\} $ROOT/$TOOLCHAIN/sbin \;
}