this is used by scripts/mkimg.base.sh so we need it in main repo (cherry picked from commit cabb87e1)