|
|
@ -115,6 +115,8 @@ else |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
hash flashrom || echo -e "${RED}Please install flashrom and run as root${NC}" |
|
|
|
|
|
|
|
TEMP_DIR=`mktemp -d` |
|
|
|
if [ ! "$have_chipname" -gt 0 ] ; then |
|
|
|
echo "trying to detect the chip..." |
|
|
@ -150,6 +152,8 @@ if [ ! "$have_chipname" -gt 0 ] ; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
hash make || echo -e "${RED}Please install make and a C compiler${NC}" |
|
|
|
|
|
|
|
make -C util/ifdtool |
|
|
|
if [ ! -e ${IFDTOOL_PATH} ] ; then |
|
|
|
echo "ifdtool not found at ${IFDTOOL_PATH}" |
|
|
|