if sunxi-tools are needed on-board then it should be packaged properly

This commit is contained in:
Gwenhael Le Moine 2014-02-27 22:39:07 +01:00
parent 816b3ecf62
commit ce18db6f9b

View file

@ -245,14 +245,6 @@ esac
cp -R $DEST/linux-sunxi/output/lib/modules $DEST/output/sdcard/lib/
cp -R $DEST/linux-sunxi/output/lib/firmware/ $DEST/output/sdcard/lib/
# sunxi-tools
cd $DEST/sunxi-tools
make clean
make -j2 'fex2bin' 'bin2fex' 'nand-part' CC=${CROSS_COMPILE}gcc
mkdir -p $DEST/output/sdcard/usr/bin/
cp fex2bin bin2fex nand-part $DEST/output/sdcard/usr/bin/
# umount images
umount $DEST/output/sdcard/
losetup -d $LOOP1