echo "Options:"
echo " -h display this help and exit"
echo " -r reboot after deploying files"
+ echo " -w compile with W=1"
echo
}
reboot=0
+warnings_opts=""
-while getopts "hr" flag ;do
+while getopts "hrw" flag ;do
case ${flag} in
h)
print_usage
r)
reboot=1
;;
+ w)
+ warnings_opts="W=1"
+ ;;
?)
echo "${PROG_NAME}: Invalid option: ${OPTARG}."
echo "Try \`${PROG_NAME} -h' for more information."
exit 1
fi
+KMAKE="${KMAKE} ${warnings_opts}"
+
${KMAKE}
if [ x"${mode}" = x"linux" ]; then
rm /tmp/modules.tar.gz
# Switch to latest kernel and DTB:
- ssh root@${EVK_IP} "fw_setenv image Image-latest; fw_setenv fdt_file latest.dtb"
+ ssh root@${EVK_IP} "sed -i -e 's@^DEFAULT.*@DEFAULT test@' /boot/extlinux/extlinux.conf"
if [ x"${reboot}" = x"1" ]; then
ssh root@${EVK_IP} "reboot"