#!/bin/bash

source /usr/share/slackdev/buildkit.sh

# This is packaged in the 'd' series on Slackware ARM.
which kpartx 2>&1 > /dev/null || { echo "kpartx is required.  You can find it in the 'd' package series"; exit 1; }


# We require Das U-Boot 'mkimage' tool to build the SPL for RK3399 and probably
# others:
{ slackcheckpkgdeps u-boot-tools || installpkg $PKGSTORE/d/u-boot-tools-*.t?z || exit 99 ; }

./uboot.build
